From ef59717feea7113e379d25137dba91250dc1d2e3 Mon Sep 17 00:00:00 2001 From: asamoukin Date: Wed, 27 Aug 2008 05:47:49 +0000 Subject: [PATCH] git-svn-id: http://svn.calculate.ru/calculate2/calculate-lib/trunk@142 c91db197-33c1-4113-bf15-f8a5c547ca64 --- pym/cl_base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/cl_base.py b/pym/cl_base.py index 3554577..aaff864 100644 --- a/pym/cl_base.py +++ b/pym/cl_base.py @@ -368,7 +368,7 @@ class opt: opts, args = getopt.getopt(self.sysArgv,self.shortOpt,self.longOpt) except getopt.GetoptError: self.handlerErrOpt() - sys.exit() + sys.exit(1) for option, value in opts: if len(option) == 2: option = option[1:]