commit | e2ae77b8b8a62e648bb1864a9b36ef3280984404 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Wed Oct 24 20:42:55 2001 +0000 |
committer | Guido van Rossum <guido@python.org> | Wed Oct 24 20:42:55 2001 +0000 |
tree | e03ad6f126a16529b2fb43671903e357bcb05835 | |
parent | c6ac8a78f668123ec5c2c3d5a824e7886e9a1c60 [diff] [blame] |
SF patch #474590 -- RISC OS support
diff --git a/Lib/plat-riscos/riscospath.py b/Lib/plat-riscos/riscospath.py index c25572b..fb0e477 100644 --- a/Lib/plat-riscos/riscospath.py +++ b/Lib/plat-riscos/riscospath.py
@@ -103,8 +103,10 @@ j= a for b in p: (fs, drive, path)= _split(b) - if fs!='' or drive!='' or path[:1] in _roots: + if j=='' or fs!='' or drive!='' or path[:1] in _roots: j= b + elif j[-1]==':': + j= j+b else: j= j+'.'+b return j