Set missing dependencies of metadata tool
This commit is contained in:
parent
c83b24575c
commit
150e13e710
1 changed files with 2 additions and 2 deletions
4
tools.py
4
tools.py
|
|
@ -154,7 +154,7 @@ def md5(path):
|
|||
return hashlib.md5(file.read()).hexdigest()
|
||||
|
||||
|
||||
def metadata(path): # Deps: file, coreutils
|
||||
def metadata(path):
|
||||
|
||||
def _detail(value, unit):
|
||||
return (" (%s)" % value if unit is None else " (%s %s)" %
|
||||
|
|
@ -200,7 +200,7 @@ def metadata(path): # Deps: file, coreutils
|
|||
name, value = line
|
||||
text.append("%-15s: %s\n" % (name, "".join(value)))
|
||||
return (Status.info, fill3.Text("".join(text)))
|
||||
metadata.dependencies = set()
|
||||
metadata.dependencies = {"file", "coreutils"}
|
||||
|
||||
|
||||
def _is_python_syntax_correct(path, python_version):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue