# HG changeset patch # User Jeff Hammel # Date 1390256867 28800 # Node ID 9b9b66c2c1fc96b7a051f635bc72879c523078a5 # Parent 637c9fac3f8d0cd35c47d4f7db3d001c4927740e syntax diff -r 637c9fac3f8d -r 9b9b66c2c1fc python/install_config.py --- 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 = [