This commit is contained in:
j 2014-06-06 10:31:32 +03:00
parent eb15019c94
commit 5f3f2eb4d3

View file

@ -104,8 +104,7 @@ def example_path(client):
def ignore_file(client, path): def ignore_file(client, path):
filename = os.path.basename(path) filename = os.path.basename(path)
if filename.startswith('._') \ if filename.startswith('._') \
or filename in ('.DS_Store', ) \ or filename in ('.DS_Store', 'Thumbs.db') \
or filename in ('Thumbs.db', ) \
or filename.endswith('~') \ or filename.endswith('~') \
or 'Extras/' in path \ or 'Extras/' in path \
or 'Versions/' in path \ or 'Versions/' in path \