mirror of
https://github.com/buildbot/buildbot.git
synced 2021-05-20 10:47:20 +03:00
Common: Reduce excessive line lenght
This commit is contained in:
@@ -30,7 +30,8 @@ def main():
|
||||
r = r.json()
|
||||
tag = r['name']
|
||||
upload_url = r['upload_url'].split('{')[0]
|
||||
assets = s.get("https://api.github.com/repos/buildbot/buildbot/releases/{id}/assets".format(id=r['id']))
|
||||
assets = s.get(("https://api.github.com/repos/buildbot/buildbot/releases/{id}/assets"
|
||||
).format(id=r['id']))
|
||||
assets.raise_for_status()
|
||||
assets = assets.json()
|
||||
os.makedirs('dist', exist_ok=True)
|
||||
|
||||
@@ -15,7 +15,7 @@ with open(os.path.expanduser('~/.config/hub')) as f:
|
||||
s.auth = config['user'], config['oauth_token']
|
||||
|
||||
os.system("git fetch --all")
|
||||
r = s.get("https://api.github.com/search/issues?q=label:\"port%20to%20stable\"+repo:buildbot/buildbot")
|
||||
r = s.get("https://api.github.com/search/issues?q=label:\"port%20to%20stable\"+repo:buildbot/buildbot") # noqa pylint: disable=line-too-long
|
||||
to_port = r.json()
|
||||
summary = ""
|
||||
for pr in to_port['items']:
|
||||
|
||||
Reference in New Issue
Block a user