changeset 577:9b9b66c2c1fc

syntax
author Jeff Hammel <k0scist@gmail.com>
date Mon, 20 Jan 2014 14:27:47 -0800
parents 637c9fac3f8d
children c16238544fca
files python/install_config.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/python/install_config.py	Mon Jan 20 09:19:13 2014 -0800
+++ b/python/install_config.py	Mon Jan 20 14:27:47 2014 -0800
@@ -61,13 +61,13 @@
         ['hg', 'pull', SRC],
         ['hg', 'update', '-C'],
         ]
-    @classmethd
+    @classmethod
     def write_hgrc(self):
         hgrc = """[paths]
 default = http://k0s.org/hg/config
 default-push = ssh://k0s.org/hg/config
 """
-        with file('.hg/hgrc', 'w') as f
+        with file('.hg/hgrc', 'w') as f:
             f.write(hgrc)
     def __call__(self):
         Step.__call__(self)
@@ -77,7 +77,7 @@
 #
 #@requires(Command('git'))
 #class GitInstall
-        
+
 ### legacy -v
 
 commands = [