mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-18 12:28:31 +01:00
Change make format to ignore deleted files.
This commit is contained in:
parent
4ab4bbc23f
commit
e9a6ae87be
3
dist/format.py
vendored
3
dist/format.py
vendored
@ -42,6 +42,9 @@ def main():
|
||||
continue
|
||||
|
||||
path = os.path.join(root_dir, filename)
|
||||
if not os.path.exists(path):
|
||||
# Probably a deletion
|
||||
continue
|
||||
original = open(path).read()
|
||||
response = urllib2.urlopen(args.url, original)
|
||||
formatted = response.read()
|
||||
|
Loading…
Reference in New Issue
Block a user