1
0
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:
John Maguire 2014-03-28 14:53:59 +01:00
parent 4ab4bbc23f
commit e9a6ae87be

3
dist/format.py vendored
View File

@ -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()