Commit 903d3803 authored by Tristan Gingold's avatar Tristan Gingold remove unused default value for base argument of rel2abs

parent 8fed7121
......@@ -97,7 +97,7 @@ def relpath(path1, path2=None):
return os.path.relpath(path1, path2)
def rel2abs(path, base=None):
def rel2abs(path, base):
converts a relative path to an absolute path.
......@@ -107,8 +107,6 @@ def rel2abs(path, base=None):
The base is intelligently concatenated to the given relative path.
@return the relative path of path from base
if base is None:
base = os.getcwd()
if os.path.isabs(path):
return path
retval = os.path.join(base, path)
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