Revision: 3533
Author: jprantan
Date: Wed May 26 02:31:24 2010
Log: Fixed that lower level exception does not contain path.
http://code.google.com/p/robotframework/source/detail?r=3533

Modified:
 /trunk/src/robot/parsing/datareader.py

=======================================
--- /trunk/src/robot/parsing/datareader.py      Tue May 25 20:50:46 2010
+++ /trunk/src/robot/parsing/datareader.py      Wed May 26 02:31:24 2010
@@ -74,7 +74,7 @@

     def _open(self, path):
         if not os.path.isfile(path):
-            raise DataError("Data source '%s' does not exist." % path)
+            raise DataError("Data source does not exist.")
         try:
             return open(path, 'rb')
         except:

Reply via email to