Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
88dd02b4
Commit
88dd02b4
authored
Aug 28, 2007
by
Philipp von Weitershausen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Missing 'c' in classname
parent
da95d06c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
lib/python/Products/Five/bbb.py
lib/python/Products/Five/bbb.py
+1
-1
lib/python/Products/Five/browser/__init__.py
lib/python/Products/Five/browser/__init__.py
+2
-2
lib/python/Products/Five/browser/pagetemplatefile.py
lib/python/Products/Five/browser/pagetemplatefile.py
+2
-2
lib/python/Products/Five/viewlet/viewlet.py
lib/python/Products/Five/viewlet/viewlet.py
+3
-3
No files found.
lib/python/Products/Five/bbb.py
View file @
88dd02b4
...
...
@@ -22,7 +22,7 @@ from zope.app.publisher.browser import getDefaultViewName
import
Acquisition
class
AquisitionBBB
(
object
):
class
A
c
quisitionBBB
(
object
):
"""Emulate a class implementing Acquisition.interfaces.IAcquirer and
IAcquisitionWrapper.
"""
...
...
lib/python/Products/Five/browser/__init__.py
View file @
88dd02b4
...
...
@@ -18,10 +18,10 @@ $Id$
import
Acquisition
import
zope.publisher.browser
from
Products.Five.bbb
import
AquisitionBBB
from
Products.Five.bbb
import
A
c
quisitionBBB
class
BrowserView
(
zope
.
publisher
.
browser
.
BrowserView
,
AquisitionBBB
):
class
BrowserView
(
zope
.
publisher
.
browser
.
BrowserView
,
A
c
quisitionBBB
):
# Use an explicit __init__ to work around problems with magically inserted
# super classes when using BrowserView as a base for viewlets.
...
...
lib/python/Products/Five/browser/pagetemplatefile.py
View file @
88dd02b4
...
...
@@ -23,7 +23,7 @@ from AccessControl import getSecurityManager
from
Products.PageTemplates.Expressions
import
SecureModuleImporter
from
Products.PageTemplates.Expressions
import
createTrustedZopeEngine
from
Products.Five.bbb
import
AquisitionBBB
from
Products.Five.bbb
import
A
c
quisitionBBB
_engine
=
createTrustedZopeEngine
()
def
getEngine
():
...
...
@@ -71,7 +71,7 @@ class ViewPageTemplateFile(viewpagetemplatefile.ViewPageTemplateFile):
# that it also needs to be locatable thru __parent__.
class
BoundPageTemplate
(
viewpagetemplatefile
.
BoundPageTemplate
,
AquisitionBBB
):
A
c
quisitionBBB
):
__parent__
=
property
(
lambda
self
:
self
.
im_self
)
...
...
lib/python/Products/Five/viewlet/viewlet.py
View file @
88dd02b4
...
...
@@ -17,14 +17,14 @@ $Id$
"""
import
os
import
zope.viewlet.viewlet
from
Products.Five.bbb
import
AquisitionBBB
from
Products.Five.bbb
import
A
c
quisitionBBB
from
Products.Five.browser.pagetemplatefile
import
ViewPageTemplateFile
class
ViewletBase
(
zope
.
viewlet
.
viewlet
.
ViewletBase
,
AquisitionBBB
):
class
ViewletBase
(
zope
.
viewlet
.
viewlet
.
ViewletBase
,
A
c
quisitionBBB
):
pass
class
SimpleAttributeViewlet
(
zope
.
viewlet
.
viewlet
.
SimpleAttributeViewlet
,
AquisitionBBB
):
A
c
quisitionBBB
):
pass
class
simple
(
zope
.
viewlet
.
viewlet
.
simple
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment