Author: baum
Date: Fri Jan 21 19:23:32 2011
New Revision: 37286
URL: http://www.lyx.org/trac/changeset/37286
Log:
Fix python error:
UnboundLocalError: local variable 'elyxerfound' referenced before assignment
Modified:
lyx-devel/trunk/lib/configure.py
Modified: lyx-devel/trunk/lib/configure.py
==============================================================================
--- lyx-devel/trunk/lib/configure.py Fri Jan 21 18:34:43 2011 (r37285)
+++ lyx-devel/trunk/lib/configure.py Fri Jan 21 19:23:32 2011 (r37286)
@@ -647,6 +647,8 @@
rc_entry = [ r'\converter lyx wordhtml "%%" ""' ])
if elyxer.find('elyxer') >= 0:
elyxerfound = True
+ else:
+ elyxerfound = False
if elyxerfound:
addToRC(r'''\copier html "python -tt $$s/scripts/ext_copy.py -e
html,png,jpg,jpeg,css $$i $$o"''')