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

Issue 6677090: Fix the owners implementation to validate method inputs. (Closed)

Created:
9 years, 9 months ago by Dirk Pranke
Modified:
9 years, 7 months ago
Reviewers:
chase, M-A Ruel
CC:
chromium-reviews, M-A Ruel
Visibility:
Public.

Description

Fix the owners implementation to validate method inputs. R=chase@chromium.org,maruel@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=78454

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -4 lines) Patch
M owners.py View 4 chunks +15 lines, -4 lines 2 comments Download
M tests/owners_unittest.py View 2 chunks +30 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Dirk Pranke
9 years, 9 months ago (2011-03-16 21:32:29 UTC) #1
chase
lgtm
9 years, 9 months ago (2011-03-16 22:47:40 UTC) #2
M-A Ruel
http://codereview.chromium.org/6677090/diff/3001/owners.py File owners.py (right): http://codereview.chromium.org/6677090/diff/3001/owners.py#newcode93 owners.py:93: def _check_collection(self, obj): I prefer this function to not ...
9 years, 9 months ago (2011-03-17 01:27:47 UTC) #3
Dirk Pranke
9 years, 9 months ago (2011-03-17 01:30:17 UTC) #4
On 2011/03/17 01:27:47, Marc-Antoine Ruel wrote:
> http://codereview.chromium.org/6677090/diff/3001/owners.py
> File owners.py (right):
> 
> http://codereview.chromium.org/6677090/diff/3001/owners.py#newcode93
> owners.py:93: def _check_collection(self, obj):
> I prefer this function to not be a member function. It has no relation to the
> object.
> 

Fair enough. I mostly hung it off of there so as to not clutter up the module
with free functions (though I prefer free functions to static methods).

Powered by Google App Engine
This is Rietveld 408576698