[Checkins] SVN: zope.location/branches/ctheune-dependency-refactoring/src/zope/location/location.py Work around Python import bug.

Christian Theune ct at gocept.com
Thu Jan 29 13:41:55 EST 2009


Log message for revision 95492:
  Work around Python import bug.
  

Changed:
  U   zope.location/branches/ctheune-dependency-refactoring/src/zope/location/location.py

-=-
Modified: zope.location/branches/ctheune-dependency-refactoring/src/zope/location/location.py
===================================================================
--- zope.location/branches/ctheune-dependency-refactoring/src/zope/location/location.py	2009-01-29 18:39:37 UTC (rev 95491)
+++ zope.location/branches/ctheune-dependency-refactoring/src/zope/location/location.py	2009-01-29 18:41:55 UTC (rev 95492)
@@ -21,7 +21,6 @@
 import zope.component
 
 # XXX import error when doing import zope.location.interfaces :/
-import zope.location.interfaces
 from zope.location.interfaces import ILocation
 from zope.proxy import ProxyBase, non_overridable
 from zope.proxy.decorator import DecoratorSpecificationDescriptor
@@ -33,7 +32,7 @@
     It provides the `__parent__` and `__name__` attributes.
 
     """
-    zope.interface.implements(zope.location.interfaces.ILocation)
+    zope.interface.implements(ILocation)
 
     __parent__ = None
     __name__ = None



More information about the Checkins mailing list