From: Barış Metin Date: Mon, 27 Sep 2010 14:04:28 +0000 (+0200) Subject: use config instead of options X-Git-Tag: sface-0.1-1~2 X-Git-Url: http://git.onelab.eu/?p=sface.git;a=commitdiff_plain;h=e3ccd419a7d411e01f21988c58b360e093544288 use config instead of options --- diff --git a/sface-run b/sface-run index 84afd0c..f1dadeb 100755 --- a/sface-run +++ b/sface-run @@ -11,8 +11,8 @@ exe = os.path.abspath(sys.argv[0]) def using_env(e): print "Using %s = %s" % (e, os.environ[e]) -def print_env(options): - if not options.verbose: +def print_env(config): + if not config.verbose: return if sys.platform == "darwin": @@ -101,5 +101,5 @@ if __name__ == "__main__": (options,args)=parser.parse_args() config.update_from_OptionParser(options) config.display("After command-line") - print_env(options) + print_env(config) main(sys.argv)