oops... removing bug in debugging code

This commit is contained in:
Ryan Tucker 2010-01-02 13:05:23 -05:00
parent c6fc1f1d80
commit 484922d4ef

View file

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