From ef1ab7692aca69702396dfc350dede539a6d1bb1 Mon Sep 17 00:00:00 2001 From: Anders Ingemann Date: Mon, 7 Apr 2014 21:46:46 +0200 Subject: [PATCH] Move import statement --- bootstrapvz/base/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrapvz/base/main.py b/bootstrapvz/base/main.py index 936abe4..7d60677 100644 --- a/bootstrapvz/base/main.py +++ b/bootstrapvz/base/main.py @@ -13,9 +13,9 @@ def main(): Exception """ # Get the commandline arguments - import os args = get_args() # Require root privileges, except when doing a dry-run where they aren't needed + import os if os.geteuid() != 0 and not args.dry_run: raise Exception('This program requires root privileges.') # Setup logging