Skip to content

Commit

Permalink
fix couple of typos
Browse files Browse the repository at this point in the history
  • Loading branch information
artgoldberg committed Jul 21, 2018
1 parent 33f8753 commit dd70277
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion obj_model/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ def validate_primary_attribute(metacls, name, bases, namespace):

if num_primary_attributes > 1:
raise ValueError('Model {} cannot have more than one primary attribute'.format(
cls.__name__)) # pragma: no cover
metacls.__name__)) # pragma: no cover

@classmethod
def validate_attribute_inheritance(metacls, name, bases, namespace):
Expand Down Expand Up @@ -3226,6 +3226,7 @@ def __init__(self, verbose_name='', help=None, primary=True, unique=True):
verbose_name (:obj:`str`, optional): verbose name
help (:obj:`str`, optional): help string
primary (:obj:`bool`, optional): indicate if attribute is primary attribute
unique (:obj:`bool`, optional): indicate whether attribute must be unique
"""
if help is None:
help = ("Enter a unique string identifier that (1) starts with a letter, (2) is composed "
Expand Down

0 comments on commit dd70277

Please sign in to comment.