diff options
author | 2010-07-14 18:08:33 -0300 | |
---|---|---|
committer | 2010-07-14 18:08:33 -0300 | |
commit | e5f00627312dfff31bb7f20ec4e355a5a7ffce4f (patch) | |
tree | d6e729dff72c7b4d59281873cbf008ee0040184f | |
parent | run_tests.py now clean the environment vars before run the tests (diff) | |
download | g-octave-e5f00627312dfff31bb7f20ec4e355a5a7ffce4f.tar.gz g-octave-e5f00627312dfff31bb7f20ec4e355a5a7ffce4f.tar.bz2 g-octave-e5f00627312dfff31bb7f20ec4e355a5a7ffce4f.zip |
removed a poor debug from the main script
-rwxr-xr-x | scripts/g-octave | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/scripts/g-octave b/scripts/g-octave index 73a8764..0eb8033 100755 --- a/scripts/g-octave +++ b/scripts/g-octave @@ -327,10 +327,9 @@ if __name__ == '__main__': return_code = os.EX_OK - if True: - #try: + try: return_code = main() - """except ConfigException as error: + except ConfigException as error: log.error('Config class error - %s' % error) out.eerror('Config class error - %s' % error) return_code = os.EX_CONFIG @@ -369,7 +368,7 @@ if __name__ == '__main__': except Exception as error: log.error('Unknown error - %s' % error) out.eerror('Unknown error - %s' % error) - return_code = os.EX_SOFTWARE""" + return_code = os.EX_SOFTWARE if return_code not in [os.EX_OK, os.EX_CONFIG, os.EX_USAGE, os.EX_DATAERR]: out.einfo('If you fell that this is a bug, please report to us.') |