summaryrefslogtreecommitdiffstats
path: root/Lib/plat-riscos/riscospath.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/plat-riscos/riscospath.py')
-rw-r--r--Lib/plat-riscos/riscospath.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/plat-riscos/riscospath.py b/Lib/plat-riscos/riscospath.py
index 32f39ba..8eda834 100644
--- a/Lib/plat-riscos/riscospath.py
+++ b/Lib/plat-riscos/riscospath.py
@@ -315,6 +315,10 @@ def abspath(p):
return normpath(join(os.getcwd(), p))
+# realpath is a no-op on systems without islink support
+realpath = abspath
+
+
# Normalize a path. Only special path element under RISC OS is "^" for "..".
def normpath(p):