comparison contrib/splicex/src/splicex.pyx @ 709:77fbf12a5d3a draft

SpliceX invalid argument detection made
author d3v11 <d3v11@d3v11.ano>
date Sat, 29 Oct 2011 17:06:38 -0400
parents dc8f88270f6a
children c02c7e024e05
comparison
equal deleted inserted replaced
708:a26ee55f8c88 709:77fbf12a5d3a
273 Create = True 273 Create = True
274 elif '--debug' in arg: 274 elif '--debug' in arg:
275 DebugSwitch = True 275 DebugSwitch = True
276 elif '--help' in arg: 276 elif '--help' in arg:
277 sys.exit(HELP()) 277 sys.exit(HELP())
278 else:
279 if arg != '/usr/bin/splicex':
280 sys.exit(SpliceX + 'error: invalid argument: ' + arg)
278 281
279 if DebugSwitch is False: 282 if DebugSwitch is False:
280 sys.tracebacklimit = 0 283 sys.tracebacklimit = 0
281 284
282 if ExhCustom is not None: 285 if ExhCustom is not None: