Removed a lingering refefence to old get_all_attributes method. Resolves #780.
This commit is contained in:
parent
8234e4bd91
commit
b1b1912e8c
1 changed files with 1 additions and 2 deletions
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue