diff --git a/direct/src/level/Entity.py b/direct/src/level/Entity.py index c60aa32225..55b8b5e5ed 100755 --- a/direct/src/level/Entity.py +++ b/direct/src/level/Entity.py @@ -80,8 +80,9 @@ class Entity(DirectObject): def setAttribInit(self, attrib, value): if __debug__: if hasattr(self, attrib): - Entity.notify.warning('%s already has member %s in %s' % - (self, attrib, lineInfo()[2])) + Entity.notify.warning( + '%s already has member %s in setAttribInit' % + (self, attrib)) # TODO: we should probably put this crep in a dictionary # rather than dump it into the entity's namespace self.__dict__[attrib] = value