Skip to content

Commit

Permalink
Fix object initialization.
Browse files Browse the repository at this point in the history
  • Loading branch information
poke committed Jan 19, 2012
1 parent 897a39f commit 9c71c7d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions inc/occi.py
Expand Up @@ -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 ):
Expand Down

0 comments on commit 9c71c7d

Please sign in to comment.