commit-gnue
[Top][All Lists]
Advanced

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

gnue-common/src/definitions GObjects.py GRootOb...


From: James Thompson
Subject: gnue-common/src/definitions GObjects.py GRootOb...
Date: Sun, 27 Jul 2003 16:47:42 -0400

CVSROOT:        /cvsroot/gnue
Module name:    gnue-common
Branch:         
Changes by:     James Thompson <address@hidden> 03/07/27 16:47:42

Modified files:
        src/definitions: GObjects.py GRootObj.py 

Log message:
        added missing _inits dict in GObj
        added args, param support to GRootObj (for type="") at init

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-common/src/definitions/GObjects.py.diff?tr1=1.61&tr2=1.62&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-common/src/definitions/GRootObj.py.diff?tr1=1.12&tr2=1.13&r1=text&r2=text

Patches:
Index: gnue-common/src/definitions/GObjects.py
diff -c gnue-common/src/definitions/GObjects.py:1.61 
gnue-common/src/definitions/GObjects.py:1.62
*** gnue-common/src/definitions/GObjects.py:1.61        Thu Jul 10 19:15:26 2003
--- gnue-common/src/definitions/GObjects.py     Sun Jul 27 16:47:42 2003
***************
*** 48,53 ****
--- 48,54 ----
      GTriggerCore.__init__(self)
      ParserObj.__init__(self, *args, **parms)
      self.__properties__ = {}
+     self._inits = []
  
    # This is a convenience function for applications
    # NOT using GParser to load an object tree.
Index: gnue-common/src/definitions/GRootObj.py
diff -c gnue-common/src/definitions/GRootObj.py:1.12 
gnue-common/src/definitions/GRootObj.py:1.13
*** gnue-common/src/definitions/GRootObj.py:1.12        Mon Feb 17 02:32:50 2003
--- gnue-common/src/definitions/GRootObj.py     Sun Jul 27 16:47:42 2003
***************
*** 37,44 ****
  #
  #
  class GRootObj(GObj):
!   def __init__(self, rootName, xmlElementCallback, xmlParser):
!     GObj.__init__(self)
      self._triggerNamespaceTree = None
      self._rname = rootName
      self.__xmlElementCallback = xmlElementCallback
--- 37,44 ----
  #
  #
  class GRootObj(GObj):
!   def __init__(self, rootName, xmlElementCallback, xmlParser, *args, **parms):
!     GObj.__init__(self,*args, **parms)
      self._triggerNamespaceTree = None
      self._rname = rootName
      self.__xmlElementCallback = xmlElementCallback




reply via email to

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