Added install script and fixed some issues that broke on Windows
This commit is contained in:
+4
-4
@@ -127,15 +127,15 @@ def main(sysArgs):
|
||||
inOpts, inArgs = getopt.getopt(sysArgs,shortOpt,longOpt)
|
||||
except getopt.GetoptError:
|
||||
print(helpMsg)
|
||||
exit(2)
|
||||
sys.exit(2)
|
||||
|
||||
for inOpt, inArg in inOpts:
|
||||
if inOpt in ("-h","--help"):
|
||||
if inOpt in ("-h","--help"):
|
||||
print(helpMsg)
|
||||
exit()
|
||||
sys.exit()
|
||||
elif inOpt in ("-v", "--version"):
|
||||
print("%s %s Version %s" % (__package__,__status__,__version__))
|
||||
exit()
|
||||
sys.exit()
|
||||
elif inOpt in ("-d", "--debug"):
|
||||
debugLevel = logging.DEBUG
|
||||
debugStr = "{name:>22}:{lineno:<4d} {levelname:8} {message:}"
|
||||
|
||||
Reference in New Issue
Block a user