projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fb70db
)
[FIX] database restore dont prepend a space before the tempfile
author
Antony Lesuisse
<al@openerp.com>
Tue, 14 Feb 2012 19:30:30 +0000
(20:30 +0100)
committer
Antony Lesuisse
<al@openerp.com>
Tue, 14 Feb 2012 19:30:30 +0000
(20:30 +0100)
lp bug: https://launchpad.net/bugs/859720 fixed
bzr revid: al@openerp.com-
20120214193030
-uhqyuo70l527ypsn
openerp/service/web_services.py
patch
|
blob
|
history
diff --git
a/openerp/service/web_services.py
b/openerp/service/web_services.py
index
3a9ba89
..
a7136e2
100644
(file)
--- a/
openerp/service/web_services.py
+++ b/
openerp/service/web_services.py
@@
-259,7
+259,7
@@
class db(netsvc.ExportService):
tmpfile = (os.environ['TMP'] or 'C:\\') + os.tmpnam()
file(tmpfile, 'wb').write(buf)
args2=list(args2)
- args2.append(' ' + tmpfile)
+ args2.append(tmpfile)
args2=tuple(args2)
stdin, stdout = tools.exec_pg_command_pipe(*args2)
if not os.name == "nt":