oops... removing bug in debugging code
This commit is contained in:
parent
c6fc1f1d80
commit
484922d4ef
1 changed files with 2 additions and 2 deletions
|
@ -284,7 +284,7 @@ for i in sorted(glob.glob(fileglob)):
|
||||||
else:
|
else:
|
||||||
# either encryption is off, or the file is already encrypted
|
# either encryption is off, or the file is already encrypted
|
||||||
sendfile = i
|
sendfile = i
|
||||||
encrypt_seconds = time.time() - sending_start()
|
encrypt_seconds = time.time() - sending_start
|
||||||
|
|
||||||
# create some output so backuppc doesn't time out
|
# 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))
|
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)
|
os.unlink(sendfile)
|
||||||
|
|
||||||
sending_seconds = time.time() - sending_start()
|
sending_seconds = time.time() - sending_start
|
||||||
|
|
||||||
bytespersecond = size / (sending_seconds - encrypt_seconds)
|
bytespersecond = size / (sending_seconds - encrypt_seconds)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue