Modified:
/trunk/reloader.py
=======================================
--- /trunk/reloader.py Fri Mar 19 00:29:58 2010
+++ /trunk/reloader.py Fri Mar 19 00:43:01 2010
@@ -8,7 +8,7 @@
import time
logger = logging.getLogger("reloader")
-#logger.setLevel(logging.DEBUG)
+# logger.setLevel(logging.DEBUG)
# TODO: rename 'namespace.py' to 'namespaces.py' ... need to think about
it...
import namespace as namespaces
@@ -292,7 +292,8 @@
self.UpdateClass(scriptFile, oldValue, newValue, globals_)
# If there was an old value, it is updated.
- if oldValue is not None:
+ if oldValue and oldValue is not NonExistentValue:
+ logger.debug("Encountered existing class '%s' %s",
attrName, oldValue)
namespaceContributions.add(attrName)
continue