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
7a62dd99
Commit
7a62dd99
authored
May 23, 2017
by
Javier D. Garcia-Lasheras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused function 'search_for_manifest' from the path package.
parent
072e51fd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
13 deletions
+0
-13
path.py
hdlmake/util/path.py
+0
-13
No files found.
hdlmake/util/path.py
View file @
7a62dd99
...
...
@@ -26,7 +26,6 @@ from __future__ import print_function
from
__future__
import
absolute_import
import
os
import
sys
import
logging
import
platform
...
...
@@ -151,18 +150,6 @@ def compose(path, base=None):
os
.
path
.
join
(
base
,
path
)))
def
search_for_manifest
(
search_path
):
"""
Look for manifest in the given folder
"""
logging
.
debug
(
"Looking for manifest in "
+
search_path
)
for
filename
in
os
.
listdir
(
search_path
):
if
filename
==
"manifest.py"
and
not
os
.
path
.
isdir
(
filename
):
return
os
.
path
.
abspath
(
os
.
path
.
join
(
search_path
,
filename
))
# no manifest file found
return
None
def
flatten_list
(
sth
):
"""Convert the argument in a list, being an empty list if none"""
if
sth
is
not
None
:
...
...
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