[Checkins] SVN: grokcore.security/trunk/ the zope.dottedname dependency was not declared

Jan Wijbrand Kolman cvs-admin at zope.org
Mon May 7 08:47:43 UTC 2012


Log message for revision 125673:
  the zope.dottedname dependency was not declared

Changed:
  U   grokcore.security/trunk/CHANGES.txt
  U   grokcore.security/trunk/setup.py
  U   grokcore.security/trunk/src/grokcore/security/interfaces.py

-=-
Modified: grokcore.security/trunk/CHANGES.txt
===================================================================
--- grokcore.security/trunk/CHANGES.txt	2012-05-07 08:18:05 UTC (rev 125672)
+++ grokcore.security/trunk/CHANGES.txt	2012-05-07 08:47:39 UTC (rev 125673)
@@ -4,9 +4,8 @@
 1.6.2 (unreleased)
 ------------------
 
-- Nothing changed yet.
+- Properly declare zope.dottedname as a dependency.
 
-
 1.6.1 (2012-05-02)
 ------------------
 

Modified: grokcore.security/trunk/setup.py
===================================================================
--- grokcore.security/trunk/setup.py	2012-05-07 08:18:05 UTC (rev 125672)
+++ grokcore.security/trunk/setup.py	2012-05-07 08:47:39 UTC (rev 125673)
@@ -44,6 +44,7 @@
         'grokcore.component >= 2.1',
         'martian >= 0.13',
         'zope.component',
+        'zope.dottedname',
         'zope.interface',
         'zope.security',
         ],

Modified: grokcore.security/trunk/src/grokcore/security/interfaces.py
===================================================================
--- grokcore.security/trunk/src/grokcore/security/interfaces.py	2012-05-07 08:18:05 UTC (rev 125672)
+++ grokcore.security/trunk/src/grokcore/security/interfaces.py	2012-05-07 08:47:39 UTC (rev 125673)
@@ -14,11 +14,9 @@
 """Grok interfaces
 """
 from zope.interface import Interface, Attribute
+from zope.dottedname.resolve import resolve
 
 def api(name):
-    from zope.dottedname.resolve import resolve
-    from zope.interface import Interface
-
     try:
         return True, resolve(name)
     except ImportError:



More information about the checkins mailing list