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
14545e09
Commit
14545e09
authored
Jun 11, 2019
by
Tristan Gingold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
action.py: move local import to the beginning of the file.
parent
2775030d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
action.py
hdlmake/action/action.py
+1
-2
No files found.
hdlmake/action/action.py
View file @
14545e09
...
...
@@ -32,6 +32,7 @@ from hdlmake.tools.makefile_writer import load_syn_tool, load_sim_tool
from
hdlmake.util
import
shell
from
hdlmake
import
new_dep_solver
as
dep_solver
from
hdlmake.srcfile
import
SourceFileSet
,
VHDLFile
,
VerilogFile
,
SVFile
from
hdlmake.module
import
Module
,
ModuleArgs
class
Action
(
list
):
...
...
@@ -87,7 +88,6 @@ class Action(list):
NOTE: the first module added to the pool will become the top_module!.
"""
from
hdlmake.module
import
Module
,
ModuleArgs
self
.
_deps_solved
=
False
new_module_args
=
ModuleArgs
()
new_module_args
.
set_args
(
parent
,
url
,
source
,
fetchto
)
...
...
@@ -169,7 +169,6 @@ class Action(list):
def
_add
(
self
,
new_module
):
"""Add the given new module if this is not already in the pool"""
from
hdlmake.module
import
Module
assert
isinstance
(
new_module
,
Module
),
"Expect a Module instance"
if
self
.
__contains
(
new_module
):
return
False
...
...
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