Revision: 4d0f17d49ca3
Branch:   default
Author:   Jussi Malinen <jussi.ao.mali...@gmail.com>
Date:     Wed May 28 11:09:40 2014 UTC
Log: fix that lxml was requested before warning users that lxml has to be installed
http://code.google.com/p/robotframework/source/detail?r=4d0f17d49ca3

Modified:
 /src/robot/libraries/XML.py

=======================================
--- /src/robot/libraries/XML.py Tue May 27 21:37:32 2014 UTC
+++ /src/robot/libraries/XML.py Wed May 28 11:09:40 2014 UTC
@@ -376,7 +376,7 @@
             self.modern_etree = True
             self.lxml_etree = True
         else:
-            if not lxml_etree:
+            if lxml and not lxml_etree:
logger.warn('XML library reverted to use standard ElementTree '
                             'because requested lxml is not installed.')
             self.etree = ET

--

--- You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to robotframework-commit+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to