Merge "Remove all_unique, a unused utility function"

This commit is contained in:
Zuul
2019-08-28 21:51:09 +00:00
committed by Gerrit Code Review

View File

@@ -646,11 +646,6 @@ def run_shell(cmd):
return subprocess.call([cmd], shell=True)
def all_unique(x):
"""Return True if the collection has no duplications."""
return len(set(x)) == len(x)
def file_checksum(filepath):
"""Calculate md5 checksum on file