Commit f4e7d2a3 authored by Jack Jansen's avatar Jack Jansen

Added (dummy) expanduser and expandvar methods

parent dc3e3f69
...@@ -98,6 +98,17 @@ def exists(s): ...@@ -98,6 +98,17 @@ def exists(s):
return 0 return 0
return 1 return 1
#
# dummy expandvars to retain interface-compatability with other
# operating systems.
def expandvars(path):
return path
#
# dummy expanduser to retain interface-compatability with other
# operating systems.
def expanduser(path):
return path
# Normalize a pathname: get rid of '::' sequences by backing up, # Normalize a pathname: get rid of '::' sequences by backing up,
# e.g., 'foo:bar::bletch' becomes 'foo:bletch'. # e.g., 'foo:bar::bletch' becomes 'foo:bletch'.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment