[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [sbws/maint-1.1] fix: maint: Fix linter error after merging #29294
commit 4bed2ce60b93e6ff73a0f70f3626e77a7f83ef31
Author: juga0 <juga@xxxxxxxxxx>
Date: Tue Aug 11 16:25:15 2020 +0000
fix: maint: Fix linter error after merging #29294
Closes: #40011
---
scripts/maint/release.py | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/scripts/maint/release.py b/scripts/maint/release.py
index b5fdf3e..17f5788 100755
--- a/scripts/maint/release.py
+++ b/scripts/maint/release.py
@@ -36,7 +36,6 @@ It assumes that:
https://github.com/GitTools/GitVersion
"""
-import re
import subprocess
import sys
try:
@@ -125,7 +124,7 @@ def main(args):
print("-------------------------------")
print("Obtaining Gitlab tarball...")
subprocess.call(
- "wget https://gitlab.torproject.org/tpo/network-health/sbws/-/archive/v{}/sbws-v{}.tar.gz "
+ "wget https://gitlab.torproject.org/tpo/network-health/sbws/-/archive/v{}/sbws-v{}.tar.gz " # noqa
"-O v{}.tar.gz"
.format(release_version, release_version, release_version).split(' ')
)
@@ -151,8 +150,8 @@ def main(args):
"git merge --no-ff mybranch"
"git push myremote master")
next_branch_version = "maint{}".format(release_version)
- print("And create the next prerelease branch, eg:")
- "git checkout -b {}".format(next_branch_version)
+ print("And create the next prerelease branch, eg:"
+ "git checkout -b {}".format(next_branch_version))
if __name__ == "__main__":
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits