From adbc6ec2bb7292b0ff63fb5f3f91678129be520d Mon Sep 17 00:00:00 2001 From: Michael King Date: Mon, 11 Jun 2007 17:07:31 +0000 Subject: [PATCH] Removed references to Attribute class from cmd_alias. Removed Attribute import --- commands/objmanip.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/commands/objmanip.py b/commands/objmanip.py index dcc377d376..5042ebddc3 100644 --- a/commands/objmanip.py +++ b/commands/objmanip.py @@ -1,9 +1,6 @@ import ansi import session_mgr import functions_db -# For aliases -from apps.objects.models import Attribute - def cmd_teleport(cdat): """ @@ -108,7 +105,6 @@ def cmd_alias(cdat): return duplicates = functions_db.alias_search(pobject, eq_args[1]) - # duplicates = Attribute.objects.filter(attr_name="ALIAS").filter(attr_value=eq_args[1]) if duplicates: session.msg("Alias '%s' already exists." % (eq_args[1],))