Skip to content

Commit

Permalink
- osc.cli.request.request: fixed variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus-h committed Nov 24, 2012
1 parent e1d9d3a commit 1efb67d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion osc/cli/request/request.py
Expand Up @@ -254,6 +254,7 @@ class RequestShellController(AbstractRequestController):

def __init__(self):
"""Constructs a new ShellRequestController object."""
# TODO: statistic support
self.stats = {}

def change_request_state(self, shell, request, method, message, info,
Expand All @@ -267,7 +268,7 @@ def change_request_state(self, shell, request, method, message, info,
"""
self._change_request_state(shell, request, method, message, info,
supersede_id)
self.stats.setdefault(method, []).append(req)
self.stats.setdefault(method, []).append(request)
return True

def skip(self):
Expand Down

0 comments on commit 1efb67d

Please sign in to comment.