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
194ccd38
Commit
194ccd38
authored
Jul 09, 1999
by
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
parent
0a6137ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
lib/python/ZClasses/ZClass.py
lib/python/ZClasses/ZClass.py
+9
-5
No files found.
lib/python/ZClasses/ZClass.py
View file @
194ccd38
...
...
@@ -328,12 +328,16 @@ class ZClass(OFS.SimpleItem.SimpleItem):
# Waaa, we need our jar to register, but we may not have one yet when
# we need to register, so we'll walk our acquisition tree looking
# for one.
jar
=
None
while
1
:
try
:
jar
=
self
.
_p_jar
except
:
return
if
jar
is
not
None
:
return
jar
try
:
self
=
self
.
aq_parent
except
:
return
if
hasattr
(
self
,
'_p_jar'
):
jar
=
self
.
_p_jar
if
jar
is
not
None
:
return
jar
if
not
hasattr
(
self
,
'aq_parent'
):
return
jar
self
=
self
.
aq_parent
def
_register
(
self
):
if
not
dbVersionEquals
(
'3'
):
...
...
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