Skip to content

Commit

Permalink
Allow adding attributes at the end of the list (PyGithub#1807)
Browse files Browse the repository at this point in the history
* Allow adding attributes at the end of the list / fix for issue PyGithub#1806

* Update as per review comments
  • Loading branch information
karsten-wagner authored Mar 23, 2021
1 parent c27fb91 commit 0245b75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/add_attribute.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@

added = False

inInit = False
inInit = line.endswith("def _initAttributes(self):")
while not added:
line = lines[i].rstrip()
i += 1
Expand Down

0 comments on commit 0245b75

Please sign in to comment.