mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-02-25 18:07:33 +00:00
Explicitly removed temporary file and deleted outdated comment.
This commit is contained in:
parent
70bf676b73
commit
7c3c956228
@ -179,7 +179,6 @@ def should_force_full(config, env):
|
|||||||
return True
|
return True
|
||||||
return False
|
return False
|
||||||
# If we got here there are no (full) backups, so make one.
|
# If we got here there are no (full) backups, so make one.
|
||||||
# (I love for/else blocks. Here it's just to show off.)
|
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def get_passphrase(env):
|
def get_passphrase(env):
|
||||||
|
@ -87,6 +87,8 @@ def scan_files(collector):
|
|||||||
else:
|
else:
|
||||||
stop_scan = False
|
stop_scan = False
|
||||||
|
|
||||||
|
if tmp_file is not None:
|
||||||
|
os.remove(tmp_file.name)
|
||||||
|
|
||||||
|
|
||||||
def scan_mail_log(env):
|
def scan_mail_log(env):
|
||||||
|
Loading…
Reference in New Issue
Block a user