here's a patch that bandaids the problem:
=== modified file 'src/lazr/restfulclient/resource.py'
--- old/src/lazr/restfulclient/resource.py 2009-10-23 13:22:44 +0000
+++ new/src/lazr/restfulclient/resource.py 2009-12-11 04:52:32 +0000
@@ -599,6 +599,10 @@
attributes are the same, and if their dirty attribute dicts
contain the same values.
"""
+ #they also aren't equal if one of them is None
+ if other is None:
+ return False
+
return ( self.self_link == other.self_link and self.http_etag == other.http_etag and
here's a patch that bandaids the problem: restfulclient/ resource. py' lazr/restfulcli ent/resource. py 2009-10-23 13:22:44 +0000 lazr/restfulcli ent/resource. py 2009-12-11 04:52:32 +0000
self. self_link == other.self_link and
self. http_etag == other.http_etag and
=== modified file 'src/lazr/
--- old/src/
+++ new/src/
@@ -599,6 +599,10 @@
attributes are the same, and if their dirty attribute dicts
contain the same values.
"""
+ #they also aren't equal if one of them is None
+ if other is None:
+ return False
+
return (