Author: janne.t.harkonen
Date: Wed Mar 25 15:10:01 2009
New Revision: 1549
Modified:
trunk/src/robot/parsing/resourcefile.py
Log:
Renamed resource.path > resource.source
There seem to be no tests breaking due to this change
Modified: trunk/src/robot/parsing/resourcefile.py
==============================================================================
--- trunk/src/robot/parsing/resourcefile.py (original)
+++ trunk/src/robot/parsing/resourcefile.py Wed Mar 25 15:10:01 2009
@@ -24,8 +24,8 @@
class ResourceFile:
def __init__(self, path):
- self.path = utils.normpath(path)
- rawdata = RawData(self.path)
+ self.source = utils.normpath(path)
+ rawdata = RawData(self.source)
if rawdata.get_type() != rawdata.RESOURCE:
self._raise_not_resource(rawdata)
self.user_keywords = UserHandlerList(rawdata.keywords)