1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-14 02:50:12 +01:00

No quotes in --commit messages

This commit is contained in:
Daniel Martí 2013-11-01 11:05:41 +01:00
parent 0ac058c244
commit 1d88ba5450

View File

@ -447,7 +447,7 @@ def main():
if options.commit and logmsg: if options.commit and logmsg:
print "Commiting update for " + metafile print "Commiting update for " + metafile
if subprocess.call(["git", "commit", "-m", if subprocess.call(["git", "commit", "-m",
"'"+logmsg.replace("'", "\\'")+"'", "--", metafile]) != 0: logmsg, "--", metafile]) != 0:
print "Git commit failed" print "Git commit failed"
sys.exit(1) sys.exit(1)