Fixed formatting.

This commit is contained in:
Fletcher Boyd 2013-09-04 18:30:04 +08:00
parent 146ae3c279
commit 4069dd21a3
89 changed files with 615 additions and 496 deletions

View file

@ -4,6 +4,6 @@ from util import hook
@hook.command
def hash(inp):
"hash <text> -- Returns hashes of <text>."
"""hash <text> -- Returns hashes of <text>."""
return ', '.join(x + ": " + getattr(hashlib, x)(inp).hexdigest()
for x in ['md5', 'sha1', 'sha256'])
for x in ['md5', 'sha1', 'sha256'])