commit-gnue
[Top][All Lists]
Advanced

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

gnue/common/src GConditions.py


From: Jason Cater
Subject: gnue/common/src GConditions.py
Date: Wed, 09 Jan 2002 16:48:38 -0500

CVSROOT:        /cvsroot/gnue
Module name:    gnue
Changes by:     Jason Cater <address@hidden>    02/01/09 16:48:38

Modified files:
        common/src     : GConditions.py 

Log message:
        fix to Conditions support

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

Patches:
Index: gnue/common/src/GConditions.py
diff -c gnue/common/src/GConditions.py:1.5 gnue/common/src/GConditions.py:1.6
*** gnue/common/src/GConditions.py:1.5  Thu Dec 20 21:57:19 2001
--- gnue/common/src/GConditions.py      Wed Jan  9 16:48:38 2002
***************
*** 91,103 ****
      GObj.__init__(self, parent, type=type)
  
  class GCField (GConditionElement):
!   def __init__(self, parent, name, datatype="char"):
      GConditionElement.__init__(self, parent, 'GCField')
      self.type = datatype
      self.name = name
  
  class GCParam (GConditionElement):
!   def __init__(self, parent, name, datatype="char"):
      GConditionElement.__init__(self, parent, 'GCParam')
      self.type = datatype
      self.name = name
--- 91,103 ----
      GObj.__init__(self, parent, type=type)
  
  class GCField (GConditionElement):
!   def __init__(self, parent, name=None, datatype="char"):
      GConditionElement.__init__(self, parent, 'GCField')
      self.type = datatype
      self.name = name
  
  class GCParam (GConditionElement):
!   def __init__(self, parent, name=None, datatype="char"):
      GConditionElement.__init__(self, parent, 'GCParam')
      self.type = datatype
      self.name = name
***************
*** 106,112 ****
      return ""
  
  class GCConst (GConditionElement):
!   def __init__(self, parent, value, datatype="char"):
      GConditionElement.__init__(self, parent, 'GCConst')
      self.type = datatype
      self.value = value
--- 106,112 ----
      return ""
  
  class GCConst (GConditionElement):
!   def __init__(self, parent, value=None, datatype="char"):
      GConditionElement.__init__(self, parent, 'GCConst')
      self.type = datatype
      self.value = value



reply via email to

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