Issue 115: os.path.dirname(os.path.normpath(path)) returns empty string for path "."
http://code.google.com/p/robotframework/issues/detail?id=115

Comment #1 by laukpe:
I haven't looked at the code, but assuming your analysis is correct this is best
fixed by os.path.abspath.

In general using just file names with OperatingSystem keywords is not that good idea, though. It's must better to use absolute paths especially when the directory (or the whole path) is given as a variable. ${CURDIR} and friends [1] are often useful.

[1]
http://robotframework.googlecode.com/svn/tags/robotframework-2.0.2/doc/userguide/RobotFrameworkUserGuide.html#operating-system-variables



Issue attribute updates:
        Status: Accepted
        Labels: -Priority-Medium Priority-Low Target-2.1

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

Reply via email to