[Checkins] SVN: zc.sourcefactory/trunk/ Dropped Support for Zope 3.2 by removing a conditional import.

Michael Howitz mh at gocept.com
Wed Jun 10 03:17:40 EDT 2009


Log message for revision 100779:
  Dropped Support for Zope 3.2 by removing a conditional import.
  

Changed:
  U   zc.sourcefactory/trunk/CHANGES.txt
  U   zc.sourcefactory/trunk/setup.py
  U   zc.sourcefactory/trunk/src/zc/sourcefactory/policies.py

-=-
Modified: zc.sourcefactory/trunk/CHANGES.txt
===================================================================
--- zc.sourcefactory/trunk/CHANGES.txt	2009-06-10 00:03:54 UTC (rev 100778)
+++ zc.sourcefactory/trunk/CHANGES.txt	2009-06-10 07:17:39 UTC (rev 100779)
@@ -2,12 +2,14 @@
 Changes
 =======
 
-0.5.1 (unreleased)
+0.6.0 (unreleased)
 ==================
 
     - Change package homepage to PyPI instead of Subversion.
 
+    - Dropped Support for Zope 3.2 by removing a conditional import.
 
+
 0.5.0 (2009-02-03)
 ==================
 

Modified: zc.sourcefactory/trunk/setup.py
===================================================================
--- zc.sourcefactory/trunk/setup.py	2009-06-10 00:03:54 UTC (rev 100778)
+++ zc.sourcefactory/trunk/setup.py	2009-06-10 07:17:39 UTC (rev 100779)
@@ -8,7 +8,7 @@
 
 setup(
     name="zc.sourcefactory",
-    version="0.5.1dev",
+    version="0.6.0dev",
     author="Zope Corporation and Contributors",
     author_email="zope-dev at zope.org",
     url="http://pypi.python.org/pypi/zc.sourcefactory",

Modified: zc.sourcefactory/trunk/src/zc/sourcefactory/policies.py
===================================================================
--- zc.sourcefactory/trunk/src/zc/sourcefactory/policies.py	2009-06-10 00:03:54 UTC (rev 100778)
+++ zc.sourcefactory/trunk/src/zc/sourcefactory/policies.py	2009-06-10 07:17:39 UTC (rev 100779)
@@ -17,18 +17,12 @@
 __docformat__ = "reStructuredText"
 
 
-import zope.intid.interfaces
-import zope.component
-try:
-    from zope.dublincore import interfaces as dublincoreinterfaces
-except ImportError:
-    # XXX Need to support Zope 3.2
-    from zope.app.dublincore import interfaces as dublincoreinterfaces
-
+from zope.dublincore import interfaces as dublincoreinterfaces
 import zc.sourcefactory.browser.source
 import zc.sourcefactory.interfaces
+import zope.component
+import zope.intid.interfaces
 
-
 # Term policies
 
 class BasicTermPolicy(object):



More information about the Checkins mailing list