Revision: 3516
Author: jprantan
Date: Tue May 25 20:50:46 2010
Log: Changed error back to the old good one.
http://code.google.com/p/robotframework/source/detail?r=3516
Modified:
/trunk/src/robot/parsing/datareader.py
=======================================
--- /trunk/src/robot/parsing/datareader.py Tue May 25 08:04:44 2010
+++ /trunk/src/robot/parsing/datareader.py Tue May 25 20:50:46 2010
@@ -14,7 +14,6 @@
import os
import re
-import sys
from robot import utils
from robot.output import LOGGER
@@ -86,7 +85,7 @@
try:
return READERS[extension]()
except KeyError:
- raise DataError("No reader found for extension '%s'." %
extension)
+ raise DataError("Unsupported file format '%s'." % extension)
def start_table(self, header):
self._current_populator.populate()