Add gitignore
This commit is contained in:
parent
37b9372f0e
commit
79bb0e44e1
|
@ -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.db.isolation_level = None # TBD - does it hurt perf?
|
||||||
self.exclude_res = [
|
self.exclude_res = [
|
||||||
re.compile(r'.*\.(DS_Store|pyc|dropbox)$'),
|
re.compile(r'.*\.(DS_Store|pyc|dropbox)$'),
|
||||||
re.compile(r'.+__pycache__.+'),
|
re.compile(r'.*__pycache__.*'),
|
||||||
re.compile(r'.+.dropbox\.cache.+')
|
re.compile(r'.*\.dropbox\.cache.*')
|
||||||
] + (exclude_res if exclude_res else [])
|
] + (exclude_res if exclude_res else [])
|
||||||
self.workers = workers
|
self.workers = workers
|
||||||
self._init_db()
|
self._init_db()
|
||||||
|
|
Loading…
Reference in New Issue