[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnue/common doc/Developers-Guide.sxw src/apps/G...
From: |
James Thompson |
Subject: |
gnue/common doc/Developers-Guide.sxw src/apps/G... |
Date: |
Thu, 27 Feb 2003 21:51:32 -0500 |
CVSROOT: /cvsroot/gnue
Module name: gnue
Changes by: James Thompson <address@hidden> 03/02/27 21:51:31
Modified files:
common/doc : Developers-Guide.sxw
common/src/apps: GBaseApp.py
Log message:
new function to create userParam lists in base app instead of each
client
(form and reports will use)
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/common/doc/Developers-Guide.sxw.diff?tr1=1.3&tr2=1.4&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/common/src/apps/GBaseApp.py.diff?tr1=1.33&tr2=1.34&r1=text&r2=text
Patches:
Index: gnue/common/doc/Developers-Guide.sxw
Index: gnue/common/src/apps/GBaseApp.py
diff -c gnue/common/src/apps/GBaseApp.py:1.33
gnue/common/src/apps/GBaseApp.py:1.34
*** gnue/common/src/apps/GBaseApp.py:1.33 Mon Feb 17 02:32:47 2003
--- gnue/common/src/apps/GBaseApp.py Thu Feb 27 21:51:31 2003
***************
*** 502,508 ****
--- 502,523 ----
dest.close()
print "Man file create: %s.1" % self.COMMAND
+ #
+ # Converts a
+ #
+ def getCommandLineParameters(self,paramList):
+ parameters = {}
+ for param in paramList:
+ psplit = string.split(param,'=',1)
+ if len(psplit) == 1:
+ self.handleStartupError ( \
+ 'Parameter "%s" specified, but no value
supplied.' % psplit[0] )
+ parameters[string.lower(psplit[0])] = psplit[1]
+ GDebug.printMesg(2,'Param "%s"="%s" ' % \
+ (string.lower(psplit[0]), psplit[1]))
+ return parameters
+
#
# Display a startup error and exit gracefully with a message on
# how to get help
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- gnue/common doc/Developers-Guide.sxw src/apps/G...,
James Thompson <=