mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-28 08:17:58 -05:00
Whitespace.
This commit is contained in:
committed by
Neil Williams
parent
f84cb8d4fa
commit
eb8c88cf11
@@ -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:])
|
||||
|
||||
Reference in New Issue
Block a user