~ubuntu-branches/ubuntu/vivid/emscripten/vivid-proposed

« back to all changes in this revision

Viewing changes to tools/autodebugger.py

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2014-01-19 14:12:40 UTC
  • mfrom: (4.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20140119141240-nfiw0p8033oitpfz
Tags: 1.9.0~20140119~7dc8c2f-1
* New snapshot release (Closes: #733714)
* Provide sources for javascript and flash. Done in orig-tar.sh
  Available in third_party/websockify/include/web-socket-js/src/
  (Closes: #735903)

Show diffs side-by-side

added added

removed removed

Lines of Context:
282
282
      lines_added += 1
283
283
 
284
284
f = open(ofilename, 'w')
285
 
f.write('\n'.join(lines) + '\n' + POSTAMBLE + '\n')
 
285
ll = '\n'.join(lines)
 
286
meta_start = ll.find('\n!')
 
287
f.write(ll[:meta_start] + '\n' + POSTAMBLE + '\n' + ll[meta_start:])
286
288
f.close()
287
289
 
288
290
print 'Success.'