Open commit message file in write mode
This commit is contained in:
parent
6de351ff0e
commit
172decc603
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ class Addon(object):
|
|||
logging.debug("Committing and pushing add-on {0}".format(self.name))
|
||||
|
||||
tmpname = os.tmpnam()
|
||||
tmpfile = open(tmpname)
|
||||
tmpfile = open(tmpname, "w")
|
||||
tmpfile.write(message)
|
||||
tmpfile.close()
|
||||
self._execute(["git", "commit", "-F", tmpname], check_error=True)
|
||||
|
|
Loading…
Add table
Reference in a new issue