Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix object initialization.

  • Loading branch information...
commit 9c71c7dd483aefa49253495a4f911586301e3f6a 1 parent 897a39f
@poke authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  inc/occi.py
View
3  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 ):
Please sign in to comment.
Something went wrong with that request. Please try again.