From 06d35f404b7560746d978e673ef301b659c92816 Mon Sep 17 00:00:00 2001 From: Shinwell Hu Date: Tue, 26 May 2020 01:27:54 +0000 Subject: [PATCH] fix style check warning --- create_repo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/create_repo.py b/create_repo.py index f4b58641..01030a22 100755 --- a/create_repo.py +++ b/create_repo.py @@ -40,7 +40,7 @@ if __name__ == "__main__": nr["protected_branches"] = ["master"] nr["type"] = "public" - exist = [ x for x in repo["repositories"] if x["name"] == args.name ] + exist = [x for x in repo["repositories"] if x["name"] == args.name] if exist != []: print("Repo already exist") sys.exit(1) @@ -56,7 +56,7 @@ if __name__ == "__main__": valid_sig = False for s in sigs["sigs"]: if s["name"] == args.sig: - s["repositories"].append(repo["community"]+"/"+args.name) + s["repositories"].append(repo["community"] + "/" + args.name) s["repositories"].sort() valid_sig=True continue -- GitLab