-
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
47 changed files
with
2,224 additions
and
2,332 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,20 @@ | ||
# sphinx configuration | ||
|
||
project = u'plone.app.event' | ||
copyright = u'2012, Plone Foundation' | ||
project = "plone.app.event" | ||
copyright = "2012, Plone Foundation" | ||
|
||
extensions = [ | ||
'sphinx.ext.doctest', | ||
'sphinx.ext.coverage', | ||
'sphinx.ext.autodoc', | ||
'sphinx.ext.viewcode', | ||
'sphinx.ext.autosummary', | ||
"sphinx.ext.doctest", | ||
"sphinx.ext.coverage", | ||
"sphinx.ext.autodoc", | ||
"sphinx.ext.viewcode", | ||
"sphinx.ext.autosummary", | ||
] | ||
master_doc = 'index' | ||
master_doc = "index" | ||
|
||
language = 'en' | ||
language = "en" | ||
|
||
from pkg_resources import get_distribution | ||
|
||
|
||
version = release = get_distribution(project).version |
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,2 @@ | ||
Code Style, pyupgrade, remove six, use plone.base, some overhaul. | ||
[jensens] |
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 @@ | ||
# -*- 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,2 +1 @@ | ||
# -*- 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,14 +1,18 @@ | ||
# -*- coding: utf-8 -*- | ||
from AccessControl.Permission import addPermission | ||
from zope.i18nmessageid import MessageFactory | ||
|
||
|
||
packageName = __name__ | ||
_ = MessageFactory('plone') | ||
_ = MessageFactory("plone") | ||
|
||
# BBB Permissions | ||
PORTAL_ADD_PERMISSION = 'Add portal events' # CMFCalendar/ATCT permissions | ||
PORTAL_ADD_PERMISSION = "Add portal events" # CMFCalendar/ATCT permissions | ||
|
||
addPermission( | ||
PORTAL_ADD_PERMISSION, | ||
('Manager', 'Site Administrator', 'Owner',) | ||
( | ||
"Manager", | ||
"Site Administrator", | ||
"Owner", | ||
), | ||
) |
Oops, something went wrong.