Merge branch 'pydrive_fix'

This commit is contained in:
Rob Weber 2015-06-19 13:44:37 -05:00
commit 9add0b2981

View File

@ -19,7 +19,7 @@ class ApiAttribute(object):
if obj.dirty.get(self.name) is not None:
obj.dirty[self.name] = True
def __del__(self, obj):
def __del__(self, obj=None):
"""Delete value of this attribute."""
del obj.attr[self.name]
if obj.dirty.get(self.name) is not None: