Revision: 3403
Author: janne.t.harkonen
Date: Mon May 24 02:18:12 2010
Log: user library needs resource file path
http://code.google.com/p/robotframework/source/detail?r=3403
Modified:
/trunk/src/robot/running/namespace.py
=======================================
--- /trunk/src/robot/running/namespace.py Fri May 21 04:01:55 2010
+++ /trunk/src/robot/running/namespace.py Mon May 24 02:18:12 2010
@@ -82,7 +82,8 @@
self._imported_resource_files.append(path)
resource = IMPORTER.import_resource(path)
self.variables.set_from_variable_table(resource.variable_table)
-
self._userlibs.append(UserLibrary(resource.keyword_table.keywords))
+
self._userlibs.append(UserLibrary(resource.keyword_table.keywords,
+ resource.source))
self._handle_imports(resource.setting_table.imports)
else:
LOGGER.info("Resource file '%s' already imported by suite '%s'"