commit-gnue
[Top][All Lists]
Advanced

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

gnue/reports/src GRRun.py


From: Jason Cater
Subject: gnue/reports/src GRRun.py
Date: Sat, 06 Apr 2002 01:45:11 -0500

CVSROOT:        /home/cvs
Module name:    gnue
Changes by:     Jason Cater <address@hidden>    02/04/06 01:45:11

Modified files:
        reports/src    : GRRun.py 

Log message:
        bug fix for user-supplied parameters

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/reports/src/GRRun.py.diff?cvsroot=OldCVS&tr1=1.5&tr2=1.6&r1=text&r2=text

Patches:
Index: gnue/reports/src/GRRun.py
diff -c gnue/reports/src/GRRun.py:1.5 gnue/reports/src/GRRun.py:1.6
*** gnue/reports/src/GRRun.py:1.5       Mon Mar 25 23:34:07 2002
--- gnue/reports/src/GRRun.py   Sat Apr  6 01:45:11 2002
***************
*** 16,22 ****
  # write to the Free Software Foundation, Inc., 59 Temple Place 
  # - Suite 330, Boston, MA 02111-1307, USA.
  #
! # Copyright 2000, 2001 Free Software Foundation
  #
  # FILE:
  # GRRun.py
--- 16,22 ----
  # write to the Free Software Foundation, Inc., 59 Temple Place 
  # - Suite 330, Boston, MA 02111-1307, USA.
  #
! # Copyright 2000-2002 Free Software Foundation
  #
  # FILE:
  # GRRun.py
***************
*** 26,50 ****
  #
  # NOTES:
  #
- # HISTORY:
- #
  
  
  from gnue.common import GDebug
! from gnue.common.GClientApp import GClientApp 
  from GREngine import GREngine
  import GRExceptions
  import string, sys
  
  
  
! def quietprint(*message): 
    print string.join(message)
  
! def quietprint_nl(*message): 
    print string.join(message),
  
! def _quietprintSuppress(*message): 
    GDebug.printMesg(1,string.join(message))
  
  
--- 26,48 ----
  #
  # NOTES:
  #
  
  
  from gnue.common import GDebug
! from gnue.common.GClientApp import GClientApp
  from GREngine import GREngine
  import GRExceptions
  import string, sys
  
  
  
! def quietprint(*message):
    print string.join(message)
  
! def quietprint_nl(*message):
    print string.join(message),
  
! def _quietprintSuppress(*message):
    GDebug.printMesg(1,string.join(message))
  
  
***************
*** 161,167 ****
        if len(psplit) == 1:
          self.handleStartupError ( \
              'Parameter "%s" specified, but no value supplied.' % psplit[0] )
!       userParameters[lower(psplit[0])] = psplit[1]
  
        GDebug.printMesg(2,'Param "%s"="%s" ' % \
             (string.lower(psplit[0]), psplit[1]))
--- 159,165 ----
        if len(psplit) == 1:
          self.handleStartupError ( \
              'Parameter "%s" specified, but no value supplied.' % psplit[0] )
!       userParameters[string.lower(psplit[0])] = psplit[1]
  
        GDebug.printMesg(2,'Param "%s"="%s" ' % \
             (string.lower(psplit[0]), psplit[1]))



reply via email to

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