X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-database.git/blobdiff_plain/01469c3d7e7c47ece091abdbbd2b342112901b9d..8ff8bfe4ba94dd1ed0a89a06d528c1b48072f2dd:/python/database/record.py diff --git a/python/database/record.py b/python/database/record.py index dcc99b9..bcf3d45 100755 --- a/python/database/record.py +++ b/python/database/record.py @@ -36,7 +36,7 @@ class Record(object): if self._identity_field: identity = self.__dict__.get(self._identity_field) - identity = ' ' + (identity and repr(identity) or 'hash=%d'%hash(self)) + identity = ' ' + (identity and repr(identity) or 'hash=%X'%hash(self)) else: identity = ''