PEP8 auditing: fix 'hdlmake/fetch/*'

parent 9c3ce471
......@@ -66,4 +66,3 @@ class Fetcher(object):
os.chdir(cur_dir)
stderr.close()
return identifier
......@@ -102,4 +102,3 @@ class Git(Fetcher):
"""Get the revision number for the Git repository at path"""
git_cmd = 'git log -1 --format="%H" | cut -c1-32'
return Fetcher.check_id(path, git_cmd)
......@@ -38,4 +38,3 @@ class Local(Fetcher):
def check_md5sum(path):
"""Get the ID for Local sources... maybe sha256 or md5sum?"""
pass
......@@ -64,4 +64,3 @@ class Svn(Fetcher):
"""Get the revision number for the SVN repository at path"""
svn_cmd = "svn info 2>/dev/null | awk '{if(NR == 5) {print $2}}'"
return Fetcher.check_id(path, svn_cmd)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment