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
ac7b3965
Commit
ac7b3965
authored
Nov 17, 2009
by
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- updated comments ('SOFTWARE_URL' was removed 10 years ago)
- removed unused import
parent
749975f3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
src/OFS/SimpleItem.py
src/OFS/SimpleItem.py
+1
-2
src/OFS/interfaces.py
src/OFS/interfaces.py
+1
-1
No files found.
src/OFS/SimpleItem.py
View file @
ac7b3965
...
...
@@ -25,7 +25,6 @@ import marshal
import
re
import
sys
import
time
import
warnings
from
AccessControl.SecurityInfo
import
ClassSecurityInfo
from
AccessControl.SecurityManagement
import
getSecurityManager
...
...
@@ -118,7 +117,7 @@ class Item(Base,
# Alias id to __name__, which will make tracebacks a good bit nicer:
__name__
=
ComputedAttribute
(
lambda
self
:
self
.
getId
())
# Name, relative to
SOFTWARE_URL
of icon used to display item
# Name, relative to
BASEPATH1
of icon used to display item
# in folder listings.
icon
=
''
...
...
src/OFS/interfaces.py
View file @
ac7b3965
...
...
@@ -339,7 +339,7 @@ class IItem(IZopeObject, IManageable, IFTPAccess, IDAVResource,
icon
=
BytesLine
(
title
=
u"Icon"
,
description
=
u"Name of icon, relative to
SOFTWARE_URL
"
,
description
=
u"Name of icon, relative to
BASEPATH1
"
,
)
def
getId
():
...
...
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