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 return
if not attrs: if not attrs:
# wipe everything # wipe everything
for attr in obj.get_all_attributes(): obj.attributes.clear()
attr.delete()
string = "Wiped all attributes on %s." % obj.name string = "Wiped all attributes on %s." % obj.name
else: else:
for attrname in attrs: for attrname in attrs: