Whitespace.

This commit is contained in:
Max Goodman
2013-03-23 16:33:05 -07:00
committed by Neil Williams
parent f84cb8d4fa
commit eb8c88cf11

View File

@@ -62,6 +62,7 @@ def generate_static_name(name, base=None):
name, ext = os.path.splitext(name)
return name + '.' + shorthash + ext
def update_static_names(names_file, files):
"""Generate a unique file name mapping for ``files`` and write it to a
JSON file at ``names_file``."""
@@ -91,5 +92,6 @@ def update_static_names(names_file, files):
return names
if __name__ == "__main__":
update_static_names(sys.argv[1], sys.argv[2:])