diff --git a/inc/occi.py b/inc/occi.py index 82cb340..6e9e834 100644 --- a/inc/occi.py +++ b/inc/occi.py @@ -198,8 +198,7 @@ def parse ( cls, line, strict = False ): def identity ( self ): '''Clone the object, and remove all properties not relevant for the identity.''' clone = CategoryStructure.__new__( type( self ) ) - clone.term = self.term - clone.scheme = self.scheme + clone.__init__( self.term, self.scheme ) return clone def isMixin ( self ):