Changeset 1107

Show
Ignore:
Timestamp:
03/04/08 14:35:10 (10 months ago)
Author:
nick
Message:

Added \__hash to pyamf.\ClassAlias to allow Python 2.6 to be happy. Fixes #222

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pyamf/trunk/pyamf/__init__.py

    r1096 r1107  
    388388        else: 
    389389            return False 
     390 
     391    def __hash__(self): 
     392        return id(self) 
    390393 
    391394    def getAttrs(self, obj, attrs=None, traverse=True):