changeset 886:8a86595a6f9c

python3
author Jeff Hammel <k0scist@gmail.com>
date Sat, 24 Apr 2021 14:21:07 -0700
parents 6df7507e6338
children 79eeb5390c8a
files python/install_config.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/python/install_config.py	Wed Mar 24 12:58:23 2021 -0700
+++ b/python/install_config.py	Sat Apr 24 14:21:07 2021 -0700
@@ -118,7 +118,7 @@
 default = http://k0s.org/hg/config
 default-push = ssh://k0s.org/hg/config
 """
-        with file('.hg/hgrc', 'w') as f:
+        with open('.hg/hgrc', 'w') as f:
             f.write(hgrc)
 
     def __call__(self):