autopep8
This commit is contained in:
parent
3c9919059f
commit
1ace8ed3a1
@ -182,6 +182,7 @@ class LaconicRegistryClient:
|
||||
def delete_name(self, name):
|
||||
cmd("laconic", "-c", self.config_file, "cns", "name", "delete", name)
|
||||
|
||||
|
||||
def file_hash(filename):
|
||||
return hashlib.sha1(open(filename).read().encode()).hexdigest()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user