This seem to fix some warnings I see.

Index: lib/scripts/convertDefault.py
===================================================================
--- lib/scripts/convertDefault.py       (revision 14237)
+++ lib/scripts/convertDefault.py       (working copy)
@@ -1,5 +1,5 @@
 #!/usr/bin/env python
-
+# -*- coding: iso-8859-15 -*-
 # file convertDefault.py
 # This file is part of LyX, the document processor.
 # Licence details can be found in the file COPYING.
@@ -21,4 +21,3 @@
   print >> sys.stderr, sys.argv[0], 'ERROR'
   print >> sys.stderr, 'Execution of "convert" failed.'
   sys.exit(1)
-


And the warning:

sys:1: DeprecationWarning: Non-ASCII character '\xdf' in file 
/home/larsbj/Development/lyx-devel/lib/scripts/convertDefault.py on line 7, but 
no encoding declared; see http://www.python.org/peps/pep-0263.html for details

-- 
        Lgb

Reply via email to