mirror of
https://github.com/stan220/flathub.git
synced 2026-09-08 20:29:02 +00:00
merge: Print stdout and stderr from git push only if it exists
This commit is contained in:
@@ -253,8 +253,11 @@ def main():
|
||||
stdout=subprocess.PIPE,
|
||||
stderr=subprocess.STDOUT,
|
||||
)
|
||||
print(ret.stdout)
|
||||
print(ret.stderr)
|
||||
if ret.stdout:
|
||||
print(f"Git push stdout:\n{ret.stdout.decode().strip()}")
|
||||
if ret.stderr:
|
||||
print(f"Git push stderr:\n{ret.stderr.decode().strip()}")
|
||||
|
||||
repo.remove_from_collaborators("flathubbot")
|
||||
|
||||
print("Setting protected branches")
|
||||
|
||||
Reference in New Issue
Block a user