Revision: 5c313e30c3a9
Branch:   default
Author:   Pekka Klärck
Date:     Tue Feb 18 23:39:30 2014 UTC
Log: reST support: If importing needed functionality fails, report that docutils >= 0.9 is needed.

Update issue 1661
Status: Done
Better error message if importing docutils fails.
http://code.google.com/p/robotframework/source/detail?r=5c313e30c3a9

Modified:
 /src/robot/parsing/restsupport.py

=======================================
--- /src/robot/parsing/restsupport.py   Thu Jan 23 14:00:53 2014 UTC
+++ /src/robot/parsing/restsupport.py   Tue Feb 18 23:39:30 2014 UTC
@@ -20,7 +20,7 @@
     from docutils.parsers.rst.directives.body import CodeBlock
 except ImportError:
     raise DataError("Using reStructuredText test data requires having "
-                    "'docutils' module installed.")
+                    "'docutils' module version 0.9 or newer installed.")


 class CaptureRobotData(CodeBlock):

--

--- 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/groups/opt_out.

Reply via email to