bzr revid: christophe@tinyerp.com-20090109142849-ee06p9d5b73yygly
This commit is contained in:
Christophe Simonis 2009-01-09 15:28:49 +01:00
parent 35cba4cd42
commit a416f08255
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +227,7 @@ def file_open(name, mode="r", subdir='addons', pathinfo=False):
fo.write(zfile.read(os.path.join(
os.path.basename(head), zipname).replace(
os.sep, '/')))
fo.seek(0)
if pathinfo:
return fo, name
return fo