mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-18 20:34:39 +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
|
continue
|
||||||
|
|
||||||
path = os.path.join(root_dir, filename)
|
path = os.path.join(root_dir, filename)
|
||||||
|
if not os.path.exists(path):
|
||||||
|
# Probably a deletion
|
||||||
|
continue
|
||||||
original = open(path).read()
|
original = open(path).read()
|
||||||
response = urllib2.urlopen(args.url, original)
|
response = urllib2.urlopen(args.url, original)
|
||||||
formatted = response.read()
|
formatted = response.read()
|
||||||
|
Loading…
Reference in New Issue
Block a user