Revision: 2530
Author: janne.t.harkonen
Date: Wed Feb 24 23:46:06 2010
Log: removed unnecessary str()
http://code.google.com/p/robotframework/source/detail?r=2530

Modified:
 /trunk/src/robot/utils/abstractdomwrapper.py

=======================================
--- /trunk/src/robot/utils/abstractdomwrapper.py        Wed Feb 24 23:44:01 2010
+++ /trunk/src/robot/utils/abstractdomwrapper.py        Wed Feb 24 23:46:06 2010
@@ -44,7 +44,7 @@
         if path is invalid.
         """
if type(path) not in StringTypes or path == '' or path[0] == '/' or path[-1] == '/':
-            raise AttributeError("Invalid path '%s'" % str(path))
+            raise AttributeError("Invalid path '%s'" % path)
         matches = []
         for child in self.children:
             matches += child._get_matching_elements(path.split('/'))

Reply via email to