-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from plone/maurits-issue-25-python3
[WIP] Fix Python 3 compatibility
- Loading branch information
Showing
12 changed files
with
414 additions
and
417 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Fixed Python 3 compatibility. [maurits] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# -*- coding: utf-8 -*- | ||
__import__('pkg_resources').declare_namespace(__name__) | ||
__import__("pkg_resources").declare_namespace(__name__) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,38 @@ | ||
# -*- coding: utf-8 -*- | ||
THIRD_PARTY_PACKAGES = ( | ||
'Zope2', | ||
'ZODB3', | ||
'txtfilter', | ||
'Products.CMFActionIcons', | ||
'Products.CMFCalendar', | ||
'Products.CMFCore', | ||
'Products.CMFDefault', | ||
'Products.CMFTopic', | ||
'Products.CMFUid', | ||
'Products.DCWorkflow', | ||
'Products.GenericSetup', | ||
'Products.GroupUserFolder', | ||
'Products.PluggableAuthService', | ||
'Products.PluginRegistry', | ||
'Products.ZCatalog', | ||
"Zope2", | ||
"ZODB3", | ||
"txtfilter", | ||
"Products.CMFActionIcons", | ||
"Products.CMFCalendar", | ||
"Products.CMFCore", | ||
"Products.CMFDefault", | ||
"Products.CMFTopic", | ||
"Products.CMFUid", | ||
"Products.DCWorkflow", | ||
"Products.GenericSetup", | ||
"Products.GroupUserFolder", | ||
"Products.PluggableAuthService", | ||
"Products.PluginRegistry", | ||
"Products.ZCatalog", | ||
) | ||
|
||
IGNORED_PACKAGES = ( | ||
'plone.releaser', | ||
) | ||
IGNORED_PACKAGES = ("plone.releaser",) | ||
|
||
ALWAYS_CHECKED_OUT = ( | ||
'Plone', | ||
'Products.CMFPlone', | ||
'plone.app.upgrade', | ||
'plone.app.locales', | ||
"Plone", | ||
"Products.CMFPlone", | ||
"plone.app.upgrade", | ||
"plone.app.locales", | ||
) | ||
|
||
# Upon checking a package... | ||
# ... ask every time if an action should be performed | ||
ACTION_INTERACTIVE = 'interactive' | ||
ACTION_INTERACTIVE = "interactive" | ||
# ... don't ask anything and perform all actions | ||
ACTION_BATCH = 'batch' | ||
ACTION_BATCH = "batch" | ||
# ... don't ask anything *AND* don't make any action, just show the status | ||
# of the package | ||
ACTION_REPORT = 'report' | ||
ACTION_REPORT = "report" | ||
|
||
PACKAGE_ACTIONS = ( | ||
ACTION_BATCH, | ||
ACTION_INTERACTIVE, | ||
ACTION_REPORT, | ||
) | ||
PACKAGE_ACTIONS = (ACTION_BATCH, ACTION_INTERACTIVE, ACTION_REPORT) |
Oops, something went wrong.