From 066d895fdad142fb87a27f179c8bfb8e98ec93b2 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Nov 22 2017 16:45:23 +0000 Subject: Fix multiple instance of the same typo: dictionnary -> dictionary Signed-off-by: Pierre-Yves Chibon --- diff --git a/pagure/lib/model.py b/pagure/lib/model.py index 807a52a..cb78982 100644 --- a/pagure/lib/model.py +++ b/pagure/lib/model.py @@ -272,7 +272,7 @@ class User(BASE): return 'User: %s - name %s' % (self.id, self.user) def to_json(self, public=False): - ''' Return a representation of the User in a dictionnary. ''' + ''' Return a representation of the User in a dictionary. ''' output = { 'name': self.user, 'fullname': self.fullname, @@ -1792,7 +1792,7 @@ class PullRequest(BASE): if not comment.notification] def to_json(self, public=False, api=False, with_comments=True): - ''' Returns a dictionnary representation of the pull-request. + ''' Returns a dictionary representation of the pull-request. ''' output = { @@ -2002,7 +2002,7 @@ class PullRequestFlag(BASE): remote_side=[PullRequest.uid]) def to_json(self, public=False): - ''' Returns a dictionnary representation of the pull-request. + ''' Returns a dictionary representation of the pull-request. ''' output = { @@ -2076,7 +2076,7 @@ class CommitFlag(BASE): order_by="CommitFlag.date_created")) def to_json(self, public=False): - ''' Returns a dictionnary representation of the commit flag. + ''' Returns a dictionary representation of the commit flag. ''' output = { @@ -2155,7 +2155,7 @@ class PagureGroup(BASE): return 'Group: %s - name %s' % (self.id, self.group_name) def to_json(self, public=False): - ''' Returns a dictionnary representation of the pull-request. + ''' Returns a dictionary representation of the pull-request. ''' output = {