Revision: 4285
Author: janne.t.harkonen
Date: Sun Nov 14 23:32:03 2010
Log: Connection cache should not raise DataError anymore, added a remainder
http://code.google.com/p/robotframework/source/detail?r=4285
Modified:
/trunk/src/robot/utils/connectioncache.py
=======================================
--- /trunk/src/robot/utils/connectioncache.py Mon May 31 05:21:54 2010
+++ /trunk/src/robot/utils/connectioncache.py Sun Nov 14 23:32:03 2010
@@ -60,6 +60,7 @@
try:
index = self._get_index(index_or_alias)
except ValueError:
+ # TODO: Should not raise DataError here anymore.
raise DataError("Non-existing index or alias '%s'" %
index_or_alias)
self.current = self._connections[index-1]
self.current_index = index