gump-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aj...@apache.org
Subject cvs commit: gump/python/gump/model property.py
Date Sun, 28 Mar 2004 21:23:18 GMT
ajack       2004/03/28 13:23:18

  Modified:    python/gump/model property.py
  Log:
  I was looking for login problems, and overlooked a missing () so I got a
  function not an object as owner.
  
  Revision  Changes    Path
  1.19      +3 -3      gump/python/gump/model/property.py
  
  Index: property.py
  ===================================================================
  RCS file: /home/cvs/gump/python/gump/model/property.py,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- property.py	28 Mar 2004 21:09:26 -0000	1.18
  +++ property.py	28 Mar 2004 21:23:18 -0000	1.19
  @@ -159,11 +159,11 @@
           return self.properties.values()
               
       def importProperty(self,xmlproperty):
  -        self.addProperty(Property(xmlproperty,self))
  +        self.addProperty(Property(xmlproperty,self.getOwner()))
               
       def completeProperties(self,workspace):   
           for property in self.getProperties(): 
  -            property.complete(self,workspace)
  +            property.complete(self.getOwner(),workspace)
                           
       def dump(self, indent=0, output=sys.stdout):
           """ Display the properties """
  @@ -179,7 +179,7 @@
       
       """
       def __init__(self,properties=None,sysproperties=None):
  -        self.properties=PropertySet(self.getOwner, properties)    
  +        self.properties=PropertySet(self.getOwner(), properties)    
           self.sysproperties=PropertySet(self.getOwner(), sysproperties)
           
       def hasProperties(self):
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Mime
View raw message