Skip to content

Commit

Permalink
DOC: SpecObject: Make a comment match the code
Browse files Browse the repository at this point in the history
The code raises an error if _cmp_fields is empty.

Re: ReproNim#273 (comment)
  • Loading branch information
kyleam committed Sep 7, 2018
1 parent 0d1738a commit f3e0012
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions niceman/distributions/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ def TypedList(type_):

class SpecObject(object):

# Empty tuple would signal that all attribs will be used while establishing
# the "identity" of the specobject
# Fields used to establish the "identity" of the specobject
_cmp_fields = tuple()
# Fields of the primary interest when showing diff
_diff_fields = tuple()
Expand Down

0 comments on commit f3e0012

Please sign in to comment.