commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnue/navigator/src GNObjects.py


From: James Thompson
Subject: gnue/navigator/src GNObjects.py
Date: Thu, 14 Feb 2002 01:01:48 -0500

CVSROOT:        /cvsroot/gnue
Module name:    gnue
Changes by:     James Thompson <address@hidden> 02/02/14 01:01:48

Modified files:
        navigator/src  : GNObjects.py 

Log message:
        Check for missing formdir in gnue.conf

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/navigator/src/GNObjects.py.diff?tr1=1.4&tr2=1.5&r1=text&r2=text

Patches:
Index: gnue/navigator/src/GNObjects.py
diff -c gnue/navigator/src/GNObjects.py:1.4 gnue/navigator/src/GNObjects.py:1.5
*** gnue/navigator/src/GNObjects.py:1.4 Wed Feb 13 16:59:39 2002
--- gnue/navigator/src/GNObjects.py     Thu Feb 14 01:01:48 2002
***************
*** 55,69 ****
  
  
    def _runForm(self, step):
- 
-     print "FOOO"
      formCommand = GConfig.get('runFormCommand','')
  
      if not formCommand:
        formCommand = "gfcvs"
  
      if os.path.basename(step.location) == step.location:
!       formfile = 
os.environ['INSTALL_PREFIX']+'/'+GConfig.get('FormDir')+"/"+step.location
      else:
        formfile = step.location
  
--- 55,71 ----
  
  
    def _runForm(self, step):
      formCommand = GConfig.get('runFormCommand','')
  
      if not formCommand:
        formCommand = "gfcvs"
  
      if os.path.basename(step.location) == step.location:
!       try:
!         formdir = GConfig.get('FormDir')
!       except KeyError:
!         formdir = ""
!       formfile = os.environ['INSTALL_PREFIX']+'/'+formdir+"/"+step.location
      else:
        formfile = step.location
  
***************
*** 73,79 ****
        os.spawnlpe(os.P_NOWAIT,formCommand,formCommand,formfile,os.environ)
      else:
        # TODO: Not tested
-       print "I should run ",formCommand,formfile
        os.spawnle(os.P_NOWAIT,formCommand,formCommand,formfile,os.environ)
  
    def _runApp(self, step):
--- 75,80 ----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]