Removed a lingering refefence to old get_all_attributes method. Resolves #780.

This commit is contained in:
Griatch 2015-08-06 07:56:18 +02:00
parent 8234e4bd91
commit b1b1912e8c

View file

@ -1655,8 +1655,7 @@ class CmdWipe(ObjManipCommand):
return
if not attrs:
# wipe everything
for attr in obj.get_all_attributes():
attr.delete()
obj.attributes.clear()
string = "Wiped all attributes on %s." % obj.name
else:
for attrname in attrs: