changeset 14:30979d82c95d

remove silly self-reference code for now
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 27 May 2011 18:43:14 -0700
parents eb81d6943f2e
children 0bea5297c156
files pyloader/factory.py
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/pyloader/factory.py	Fri May 27 07:22:40 2011 -0700
+++ b/pyloader/factory.py	Fri May 27 18:43:14 2011 -0700
@@ -76,9 +76,5 @@
             value = value[len(self.delimeters[0]):-len(self.delimeters[1])]
             if value in self.config:
                 return self.load(value)
-            elif value == 'self':
-                # reference this factory
-                # tricky and dangerous
-                return self
         return value