Permalink
Browse files

slbackup.py 2.0 alpha1

Looks like backups work as they should..  Needs testing to verify.
Features imminent...
  • Loading branch information...
Kevin Landreth
Kevin Landreth committed Dec 13, 2012
1 parent f704e5f commit 3ee80753c401ea2fc3d9a5b9967f6fab667af63c
Showing with 2 additions and 4 deletions.
  1. +2 −4 slbackup.py
View
@@ -416,10 +416,9 @@ def process_directory(self, job):
raise ValueError("Job not a tuple")
if obj.get('content_type', None) == 'application/directory':
- logging.info("Skipping %s", _dir)
+ logging.debug("Skipping directory %s", _dir)
return False
- logging.info("%s: ", obj.get('content_type'))
return True
def __call__(self, item):
@@ -438,7 +437,6 @@ def _worker(self, work, job):
self.client.conn.auth.auth_token = self.token
if not self.url or not self.token:
- logging.warn("Invalid authentication")
self.authenticate()
if work == 'stat':
@@ -575,7 +573,7 @@ def delta_force_one(files, directories, remote_objects):
work.append(('stat', (st, remote_objects[st],),))
for sd in (d & r):
- work.append(('dstat', (sd, remote_objects[st],),))
+ work.append(('dstat', (sd, remote_objects[sd],),))
# add the remote object directly to the delete queue
for dl in (r - a):

0 comments on commit 3ee8075

Please sign in to comment.