From 484922d4ef742db8f82da657c407ec24cf6e0d4f Mon Sep 17 00:00:00 2001 From: Ryan Tucker Date: Sat, 2 Jan 2010 13:05:23 -0500 Subject: [PATCH] oops... removing bug in debugging code --- BackupPC_archiveHost_s3 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BackupPC_archiveHost_s3 b/BackupPC_archiveHost_s3 index 11bddb1..ddc9722 100755 --- a/BackupPC_archiveHost_s3 +++ b/BackupPC_archiveHost_s3 @@ -284,7 +284,7 @@ for i in sorted(glob.glob(fileglob)): else: # either encryption is off, or the file is already encrypted sendfile = i - encrypt_seconds = time.time() - sending_start() + encrypt_seconds = time.time() - sending_start # create some output so backuppc doesn't time out sys.stdout.write("%s: Sending %s to S3...\n" % (time.strftime('%d-%H:%M:%S'), sendfile)) @@ -311,7 +311,7 @@ for i in sorted(glob.glob(fileglob)): os.unlink(sendfile) - sending_seconds = time.time() - sending_start() + sending_seconds = time.time() - sending_start bytespersecond = size / (sending_seconds - encrypt_seconds)