From: allfro Date: Sun, 10 Feb 2013 07:40:34 +0000 (-0500) Subject: Cleaned up a bit X-Git-Url: https://git.nothing2do.fr/?a=commitdiff_plain;h=52415d12cb5ef3f5702b341db1b73befe8777007;p=get-hack-src.git Cleaned up a bit --- diff --git a/src/canari/commands/run_server.py b/src/canari/commands/run_server.py index e71c967..6915284 100755 --- a/src/canari/commands/run_server.py +++ b/src/canari/commands/run_server.py @@ -25,7 +25,7 @@ __copyright__ = 'Copyright 2012, Canari Project' __credits__ = [] __license__ = 'GPL' -__version__ = '0.4' +__version__ = '0.5' __maintainer__ = 'Nadeem Douba' __email__ = 'ndouba@gmail.com' __status__ = 'Development' @@ -294,7 +294,7 @@ def run(args): if os.name == 'posix' and os.geteuid() and (opts.port <= 1024 or opts.enable_privileged): print ('You must run this server as root to continue...') - os.execvp('sudo', ['sudo'] + list(sys.argv)) + os.execvp('sudo', ['sudo'] + sys.argv) fix_binpath(config['default/path'])