Browse Source

Add gitignore

master
Dave Pedu 5 years ago
parent
commit
79bb0e44e1
  1. 10
      .gitignore
  2. 4
      b2mirror/mirror.py

10
.gitignore

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

4
b2mirror/mirror.py

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