← Back to team overview

oship-dev team mailing list archive

[Branch ~oship-dev/oship/devel] Rev 477: Adding parent in the Locatable constructor

 

------------------------------------------------------------
revno: 477
committer: Eduardo César edu@starforge>
branch nick: local
timestamp: Fri 2010-09-03 12:52:07 -0300
message:
  Adding parent in the Locatable constructor
modified:
  src/oship/openehr/rm/common/archetyped/__init__.py


--
lp:oship
https://code.launchpad.net/~oship-dev/oship/devel

Your team OSHIP Development Team is subscribed to branch lp:oship.
To unsubscribe from this branch go to https://code.launchpad.net/~oship-dev/oship/devel/+edit-subscription
=== modified file 'src/oship/openehr/rm/common/archetyped/__init__.py'
--- src/oship/openehr/rm/common/archetyped/__init__.py	2010-09-01 14:57:16 +0000
+++ src/oship/openehr/rm/common/archetyped/__init__.py	2010-09-03 15:52:07 +0000
@@ -71,7 +71,8 @@
 
     grok.implements(ILocatable)
 
-    def __init__(self, uid, atnodeid, name, atdetails, fdraudit, links):
+    def __init__(self, uid, atnodeid, name, atdetails, fdraudit, links, parent=None):
+        Pathable.__init__(self, parent)
         self.uid=uid
         self.archetypeNodeId=atnodeid
         self.name=name