aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2010-07-14 13:48:41 -0300
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2010-07-14 13:48:41 -0300
commit5437c66e60a5ae5c42a508ece671bbe03f9a8722 (patch)
tree83512b1dbb88821f70634bea55432324954f374f /scripts
parenta lot of fixes. looks like g-octave already works with py3k (diff)
downloadg-octave-5437c66e60a5ae5c42a508ece671bbe03f9a8722.tar.gz
g-octave-5437c66e60a5ae5c42a508ece671bbe03f9a8722.tar.bz2
g-octave-5437c66e60a5ae5c42a508ece671bbe03f9a8722.zip
fixed all the modules that deal with files, to work properly with py3k
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/g-octave7
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/g-octave b/scripts/g-octave
index 0eb8033..73a8764 100755
--- a/scripts/g-octave
+++ b/scripts/g-octave
@@ -327,9 +327,10 @@ if __name__ == '__main__':
return_code = os.EX_OK
- try:
+ if True:
+ #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
@@ -368,7 +369,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.')