# HG changeset patch # User Jeff Hammel # Date 1394597951 25200 # Node ID 753a5358535f1db5d1c4fe58986154c1a4da2595 # Parent b4dc72b7c5c31192f96790f47cc6f35ead463288 correct syntax errors; now works again diff -r b4dc72b7c5c3 -r 753a5358535f python/install_config.py --- a/python/install_config.py Tue Mar 11 14:38:35 2014 -0700 +++ b/python/install_config.py Tue Mar 11 21:19:11 2014 -0700 @@ -130,7 +130,7 @@ os.path.join(HOME, 'bin', 'virtualenv.py')] ] -class InstallKWare(In): +class InstallKWare(Step): """install k0s.ware""" # TODO # from legacy @@ -170,21 +170,8 @@ def __call__(self): # TODO: actually install this shit - print "Ensure the following packages are installed:" - print "sudo apt-get install %s" % ' '.join(self.PACKAGES) - - -### legacy -v- - -def legacy(): - """legacy : TO DEPRECATE!""" - - # do git stuff - git = which('git') - if git: - - else: - print "git not installed" + print ("Ensure the following packages are installed:") + print ("sudo apt-get install %s" % ' '.join(self.PACKAGES)) ### CLI @@ -225,9 +212,7 @@ parser.exit() if options.all: - # list available steps - for sorted([]): - raise NotImplementedError("TODO") + raise NotImplementedError("TODO") # execute steps for step in steps: