[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnue/gnuef/client gfclient
From: |
James Thompson |
Subject: |
gnue/gnuef/client gfclient |
Date: |
Sun, 25 Feb 2001 12:02:54 -0800 |
CVSROOT: /cvs
Module name: gnue
Changes by: James Thompson <address@hidden> 01/02/25 12:02:54
Modified files:
gnuef/client : gfclient
Log message:
Fixed reported bug in gfclient's ability to see if it was ran as
gfclient
CVSWeb URLs:
http://subversions.gnu.org/cgi-bin/cvsweb/gnue/gnuef/client/gfclient.diff?r1=1.22&r2=1.23
Patches:
Index: gnue/gnuef/client/gfclient
diff -u gnue/gnuef/client/gfclient:1.22 gnue/gnuef/client/gfclient:1.23
--- gnue/gnuef/client/gfclient:1.22 Thu Feb 22 19:02:15 2001
+++ gnue/gnuef/client/gfclient Sun Feb 25 12:02:54 2001
@@ -11,7 +11,7 @@
#
# Copyright (c) 2000 Free Software Foundation
#
-# $Revision: 1.22 $ $Date: 2001/02/23 03:02:15 $ $Author: jamest $
+# $Revision: 1.23 $ $Date: 2001/02/25 20:02:54 $ $Author: jamest $
#
import pstats
@@ -62,7 +62,7 @@
# assign form file from 1st free argument
try:
- self.formfile = self.CmdOpt.getArgument(0)
+ self.formfile = self.CmdOpt.getArgument(0)
except:
if self.help :
print _usage % (sys.argv[0])
@@ -71,12 +71,13 @@
print "%s v%s" % (sys.argv[0], __version__)
sys.exit()
else:
- if sys.argv[0] != 'gfclient':
- self.formfile =
GFOptions.FormDir+"/"+os.path.basename(sys.argv[0])+".gfd"
+ if sys.argv[0][-8:] != 'gfclient':
+ self.formfile =
GFOptions.FormDir+"/"+os.path.basename(sys.argv[0])+".gfd"
else:
print "No Forms Definition File Specified. Use GFClient -h for more
information."
sys.exit()
+
# Initialize user interface (defaults to gui)
# If the DISPLAY var isn't set then switch to text
if self.ui_type == 'gui' :
@@ -131,3 +132,9 @@
p.sort_stats('cumulative').print_stats(50)
else :
GFClient.run()
+
+
+
+
+
+