Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
Hdlmake
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
15
Issues
15
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Hdlmake
Commits
903d3803
Commit
903d3803
authored
Oct 29, 2019
by
Tristan Gingold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
path.py: remove unused default value for base argument of rel2abs
parent
8fed7121
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
path.py
hdlmake/util/path.py
+1
-3
No files found.
hdlmake/util/path.py
View file @
903d3803
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment