[FIX] win32/setup.py: forgot \n

bzr revid: chs@openerp.com-20121128142521-1giiba0fvxhq84mu
This commit is contained in:
Christophe Simonis 2012-11-28 15:25:21 +01:00
parent 10697d1c1e
commit 7773d0d431
1 changed files with 3 additions and 3 deletions

View File

@ -37,14 +37,14 @@ def generate_files():
fname = action + '.bat'
files.append(fname)
with open(fname, 'w') as fp:
fp.write('@PATH=%WINDIR%\system32;%WINDIR%;%WINDIR%\System32\Wbem;.')
fp.write('@PATH=%WINDIR%\system32;%WINDIR%;%WINDIR%\System32\Wbem;.\n')
for step in steps:
fp.write('@net %s %s' % (step, meta['nt_service_name']))
fp.write('@net %s %s\n' % (step, meta['nt_service_name']))
files.append('meta.py')
with open('meta.py', 'w') as fp:
for m in 'description serie nt_service_name'.split():
fp.write("%s = %r" % (m, meta[m],))
fp.write("%s = %r\n" % (m, meta[m],))
return files