Mercurial > hg > config
changeset 645:753a5358535f
correct syntax errors; now works again
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Tue, 11 Mar 2014 21:19:11 -0700 |
parents | b4dc72b7c5c3 |
children | 0e15d5aa78a2 |
files | python/install_config.py |
diffstat | 1 files changed, 4 insertions(+), 19 deletions(-) [+] |
line wrap: on
line diff
--- 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: