Made all unittests validate again.

This commit is contained in:
Griatch 2011-05-01 20:44:01 +00:00
parent 2973b096e7
commit 2c47d6a66b
2 changed files with 3 additions and 3 deletions

View file

@ -199,7 +199,7 @@ class CmdCopy(ObjManipCommand):
if not to_obj_location:
return
copiedobj = ObjectDB.objects.copy_object(from_obj, new_name=to_obj_name,
copiedobj = ObjectDB.objects.copy_object(from_obj, new_key=to_obj_name,
new_location=to_obj_location, new_aliases=to_obj_aliases)
if copiedobj:
string = "Copied %s to '%s' (aliases: %s)." % (from_obj_name, to_obj_name,
@ -535,7 +535,7 @@ class CmdDestroy(MuxCommand):
"""
key = "@destroy"
aliases = "@delete"
aliases = ["@delete", "@del"]
locks = "cmd:perm(destroy) or perm(Builders)"
help_category = "Building"