On Sat, 28 Mar 2009, Jürgen Spitzmüller wrote:

chr wrote:
Author: chr
Date: Fri Mar 27 23:55:20 2009
New Revision: 28949
URL: http://lyx.lyx.org/trac/changeset/28949

Log:
Removed empty lines at end to get rid of warnings

Since i18n.inc is autogenerated, we should rather fix this in postats.py.

I looked at postats.py, the last lines look like this:

    print """<?php
// The current version
$lyx_version = "%s";
// The branch tag
$branch_tag = "%s";

// The data itself
$podata = array (%s
)?>""" % (sys.argv[1], branch_tag, ",".join([run_msgfmt(po) for po in sys.argv[2:] if po not in ommitted]))


I don't understand why there would be an extra new line after the '?>', nor do I get an extra line when I try running the script, so what gives?

/Christian

--
Christian Ridderström                           Mobile: +46-70 687 39 44

Reply via email to