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
7f4143c1
Commit
7f4143c1
authored
May 25, 2017
by
Javier D. Garcia-Lasheras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove superfluous assertion for a cleaner inheritance scheme (III)
parent
4639510e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
git.py
hdlmake/fetch/git.py
+0
-3
No files found.
hdlmake/fetch/git.py
View file @
7f4143c1
...
...
@@ -26,7 +26,6 @@ import os
from
hdlmake.util
import
path
as
path_utils
from
hdlmake.util
import
shell
import
logging
from
.constants
import
GIT
from
.fetcher
import
Fetcher
...
...
@@ -56,8 +55,6 @@ class Git(Fetcher):
def
fetch
(
self
,
module
):
"""Get the code from the remote Git repository"""
fetchto
=
module
.
fetchto
()
if
module
.
source
!=
GIT
:
raise
ValueError
(
"This backend should get git modules only."
)
if
not
os
.
path
.
exists
(
fetchto
):
os
.
mkdir
(
fetchto
)
basename
=
path_utils
.
url_basename
(
module
.
url
)
...
...
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