提交 06d35f40 编写于 作者: S Shinwell Hu

fix style check warning

上级 1eb734a1
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册