chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8dfe53
)
Watch out for rogue log messages
author
Ciaran Gultnieks
<ciaran@ciarang.com>
Wed, 15 May 2013 15:03:09 +0000
(16:03 +0100)
committer
Ciaran Gultnieks
<ciaran@ciarang.com>
Wed, 15 May 2013 15:03:09 +0000
(16:03 +0100)
fdroidserver/checkupdates.py
patch
|
blob
|
history
diff --git
a/fdroidserver/checkupdates.py
b/fdroidserver/checkupdates.py
index 77c7cd9702e2269387716d1e3d5516ff85d0c145..29872ce09c49b4314530d7870f6addbf8d462cf7 100644
(file)
--- a/
fdroidserver/checkupdates.py
+++ b/
fdroidserver/checkupdates.py
@@
-289,7
+289,7
@@
def main():
if subprocess.call("git add " + metafile, shell=True) != 0:
print "Git add failed"
sys.exit(1)
- if subprocess.call(
'git commit -m \"' + logmsg + '\"'
, shell=True) != 0:
+ if subprocess.call(
"git commit -m '" + logmsg.replace("'", "\\'") + "'"
, shell=True) != 0:
print "Git commit failed"
sys.exit(1)