[gettor/master] Latest version of github3 replaces iter_releases() by releases()

commit bd107baa96f3a6f2663a9fde999e1f6b690d6726 Author: ilv <ilv@users.noreply.github.com> Date: Tue Feb 16 01:19:52 2016 -0300 Latest version of github3 replaces iter_releases() by releases() --- upload/bundles2github.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upload/bundles2github.py b/upload/bundles2github.py index e670f85..2e3c888 100644 --- a/upload/bundles2github.py +++ b/upload/bundles2github.py @@ -108,7 +108,7 @@ if __name__ == '__main__': readable_fp = ' '.join(fp[i:i+4] for i in xrange(0, len(fp), 4)) # Find any published releases with this version number - for release in target_repo.iter_releases(): + for release in target_repo.releases(): if release.tag_name == 'v{}'.format(version) and not release.draft: print("Found an existing published release with this version. " "Not uploading again unless you delete the published "
participants (1)
-
ilv@torproject.org