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
87008ad5
Commit
87008ad5
authored
Jun 06, 2019
by
Tristan Gingold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused get_include_dirs_list function.
parent
ef932147
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
25 deletions
+0
-25
module.py
hdlmake/module/module.py
+0
-25
No files found.
hdlmake/module/module.py
View file @
87008ad5
...
...
@@ -91,31 +91,6 @@ class Module(ModuleContent):
logging
.
debug
(
"Process manifest at: "
+
os
.
path
.
dirname
(
self
.
path
))
super
(
Module
,
self
)
.
process_manifest
()
def
get_include_dirs_list
(
self
):
"""Private method that processes the included directory list"""
# Include dirs
include_dirs
=
[]
if
"include_dirs"
in
self
.
manifest_dict
:
if
isinstance
(
self
.
manifest_dict
[
"include_dirs"
],
six
.
string_types
):
dir_list
=
path_mod
.
compose
(
self
.
path
,
self
.
manifest_dict
[
"include_dirs"
])
include_dirs
.
append
(
dir_list
)
else
:
dir_list
=
[
path_mod
.
compose
(
x
,
self
.
path
)
for
x
in
self
.
manifest_dict
[
"include_dirs"
]]
include_dirs
.
extend
(
dir_list
)
# Analyze included dirs and report if any issue is found
for
dir_
in
include_dirs
:
if
path_mod
.
is_abs_path
(
dir_
):
logging
.
warning
(
"
%
s contains absolute path to an include "
"directory:
%
s"
,
self
.
path
,
dir_
)
if
not
os
.
path
.
exists
(
dir_
):
logging
.
warning
(
self
.
path
+
" has an unexisting include directory: "
+
dir_
)
return
include_dirs
def
parse_manifest
(
self
):
"""
Create a dictionary from the module Manifest.py and assign it
...
...
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