Add gitignore

master
Dave Pedu 7 years ago
parent 37b9372f0e
commit 79bb0e44e1

10
.gitignore vendored

@ -0,0 +1,10 @@
__pycache__
*.pyc
b2mirror.egg-info
build
dist
sync.db
.DS_Store
test.py
test.sh

@ -44,8 +44,8 @@ class B2SyncManager(object):
self.db.isolation_level = None # TBD - does it hurt perf?
self.exclude_res = [
re.compile(r'.*\.(DS_Store|pyc|dropbox)$'),
re.compile(r'.+__pycache__.+'),
re.compile(r'.+.dropbox\.cache.+')
re.compile(r'.*__pycache__.*'),
re.compile(r'.*\.dropbox\.cache.*')
] + (exclude_res if exclude_res else [])
self.workers = workers
self._init_db()

Loading…
Cancel
Save