Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
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
Hardik Juneja
erp5
Commits
568e7c96
Commit
568e7c96
authored
Mar 27, 2015
by
wenjie.zheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Worklist.py: remove useless comments.
parent
a0722829
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
product/ERP5Workflow/Document/Worklist.py
product/ERP5Workflow/Document/Worklist.py
+1
-5
No files found.
product/ERP5Workflow/Document/Worklist.py
View file @
568e7c96
...
...
@@ -83,8 +83,7 @@ class Worklist(XMLObject):
def getGuard(self):
if self.guard is None:
self.generateGuard()
return self.guard ### only generate gurad when self is a User Action
#return Guard().__of__(self) # Create a temporary guard.
return self.guard
def getGuardSummary(self):
res = None
...
...
@@ -120,7 +119,6 @@ class Worklist(XMLObject):
res.sort()
return res
### zwj: this function has been modified from original one
def getVarMatchKeys(self):
key_list = []
if self.getMatchedSimulationState() is not None:
...
...
@@ -133,7 +131,6 @@ class Worklist(XMLObject):
raise NotImplementedError('
Please
only
fill
the
field
of
the
state
variable
defined
in
this
workflow
.
')
return key_list
### zwj: this function has been modified from original one
def getVarMatch(self, id):
self.var_matches = {}
matches = ''
...
...
@@ -234,4 +231,3 @@ class Worklist(XMLObject):
criteria.update(kw)
return catalog.searchResults(**criteria)
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