[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnue/gnuef/src GFClient.py
From: |
Derek Neighbors |
Subject: |
gnue/gnuef/src GFClient.py |
Date: |
Thu, 28 Sep 2000 22:24:05 -0700 |
CVSROOT: /home/cvs
Module name: gnue
Changes by: Derek Neighbors <address@hidden> 00/09/28 22:24:05
Modified files:
gnuef/src : GFClient.py
Log message:
load file error trapping has always been incorrect just noticed.
GFForm(fp) called regardless so any errors in it are deemed as cant
find file. :) This is fixed.
CVSWeb URLs:
http://subversions.gnu.org/cgi-bin/cvsweb/gnue/gnuef/src/GFClient.py.diff?r1=1.8&r2=1.9
Patches:
Index: gnue/gnuef/src/GFClient.py
diff -u gnue/gnuef/src/GFClient.py:1.8 gnue/gnuef/src/GFClient.py:1.9
--- gnue/gnuef/src/GFClient.py:1.8 Thu Sep 28 21:05:47 2000
+++ gnue/gnuef/src/GFClient.py Thu Sep 28 22:24:05 2000
@@ -116,11 +116,12 @@
#if os.path.exists(self.formfile):
try:
fp = urllib.urlopen(self.formfile)
- form = GFForm(fp)
- fp.close()
except:
print "The file %s doesn't seem to exist." % (self.formfile)
- sys.exit()
+ sys.exit()
+ form = GFForm(fp)
+ fp.close()
+
# determine the UI to use
if self.ui == 'PYNCURSES' :