remove unused variables/methods
This commit is contained in:
parent
921258749a
commit
c37effcbd7
8 changed files with 10 additions and 32 deletions
|
|
@ -912,7 +912,7 @@ class TaskManager(object):
|
|||
return None
|
||||
|
||||
return procstats
|
||||
except IOError, e:
|
||||
except IOError:
|
||||
# process may have already gone away
|
||||
return None
|
||||
|
||||
|
|
@ -1103,7 +1103,6 @@ class TaskManager(object):
|
|||
self.logger.warn("Could not open")
|
||||
return False
|
||||
task_id = data['id']
|
||||
request = data['request']
|
||||
self.tasks[task_id] = data
|
||||
# set weight
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue