Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Issue 11801018: Fix small error in SimpleMock. (Closed)

Created:
7 years, 11 months ago by M-A Ruel
Modified:
7 years, 11 months ago
Reviewers:
cmp
CC:
chromium-reviews, Dirk Pranke, cmp+cc_chromium.org, M-A Ruel, iannucci+depot_tools_chromium.org
Visibility:
Public.

Description

Fix small error in SimpleMock. It's bad python practice to use a class-level member that is mutable. self.calls is already initialized in __init__ so it's not useful (and dangerous) to have it as a class member. R=cmp@chromium.org BUG= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=175368

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -2 lines) Patch
M testing_support/auto_stub.py View 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
M-A Ruel
7 years, 11 months ago (2013-01-07 18:45:14 UTC) #1
cmp
lgtm
7 years, 11 months ago (2013-01-07 18:51:03 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/maruel@chromium.org/11801018/1
7 years, 11 months ago (2013-01-07 19:02:51 UTC) #3
commit-bot: I haz the power
7 years, 11 months ago (2013-01-07 19:05:21 UTC) #4
Message was sent while issue was closed.
Change committed as 175368

Powered by Google App Engine
This is Rietveld 408576698