Skip to content

Commit

Permalink
Remove unnecessary assignment in ItemPage.get()
Browse files Browse the repository at this point in the history
The dictionary returned from the parent method already holds
the same data under the same key.

Change-Id: Icdfa866883f67b5191e92e2732789478ec288937
  • Loading branch information
matejsuchanek committed Feb 19, 2017
1 parent 50e39f8 commit 9dc3ef1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pywikibot/page.py
Original file line number Diff line number Diff line change
Expand Up @@ -4018,7 +4018,6 @@ def get(self, force=False, get_redirect=False, *args, **kwargs):
self.sitelinks[dbname] = self._content[
'sitelinks'][dbname]['title']

data['claims'] = self.claims
data['sitelinks'] = self.sitelinks
return data

Expand Down

0 comments on commit 9dc3ef1

Please sign in to comment.