Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Klaus Wölfel
erp5
Commits
a7445c7c
Commit
a7445c7c
authored
13 years ago
by
Vincent Pelletier
Browse files
Options
Download
Email Patches
Plain Diff
Simplify code.
parent
f4c94450
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
product/ERP5Type/patches/PythonScript.py
product/ERP5Type/patches/PythonScript.py
+1
-4
No files found.
product/ERP5Type/patches/PythonScript.py
View file @
a7445c7c
...
@@ -17,10 +17,7 @@ from App.ImageFile import ImageFile
...
@@ -17,10 +17,7 @@ from App.ImageFile import ImageFile
def
haveProxyRole
(
self
):
def
haveProxyRole
(
self
):
"""if a script has proxy role, return True"""
"""if a script has proxy role, return True"""
if
self
.
_proxy_roles
:
return
bool
(
self
.
_proxy_roles
)
return
True
return
False
def
om_icons
(
self
):
def
om_icons
(
self
):
"""Return a list of icon URLs to be displayed by an ObjectManager"""
"""Return a list of icon URLs to be displayed by an ObjectManager"""
...
...
This diff is collapsed.
Click to expand it.
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