mirror of
https://github.com/evennia/evennia.git
synced 2026-03-27 18:26:32 +01:00
Fixed erroneous alias-assigments in tutorial_world that caused tracebacks. Resolves Issue 423.
This commit is contained in:
parent
0a42b73824
commit
839a78ca8d
5 changed files with 12 additions and 32 deletions
|
|
@ -371,7 +371,7 @@ class AttributeHandler(object):
|
|||
attr_obj.value = value
|
||||
|
||||
|
||||
def remove(self, key, raise_exception=True, category=None, accessing_obj=None, default_access=True):
|
||||
def remove(self, key, raise_exception=False, category=None, accessing_obj=None, default_access=True):
|
||||
"""Remove attribute or a list of attributes from object.
|
||||
|
||||
If accessing_obj is given, will check against the 'attredit' lock. If not given, this check is skipped.
|
||||
|
|
@ -514,8 +514,8 @@ class TagHandler(object):
|
|||
# this will only create tag if no matches existed beforehand (it will overload
|
||||
# data on an existing tag since that is not considered part of making the tag unique)
|
||||
tagobj = Tag.objects.create_tag(key=tagstr, category=category, data=data)
|
||||
print tagstr
|
||||
print tagobj
|
||||
#print tagstr
|
||||
#print tagobj
|
||||
_GA(self.obj, self._m2m_fieldname).add(tagobj)
|
||||
|
||||
def get(self, key, category="", return_obj=False):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue