Skip to content

Commit 3c9798c

Browse files
committed
Fixed a couple of pyflakes issues.
- Legacy-Id: 18636
1 parent 45a808d commit 3c9798c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ietf/submit/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ def save_files(form):
672672
with io.open(name, 'wb+') as destination:
673673
for chunk in f.chunks():
674674
destination.write(chunk)
675-
log("saved file %s" % name)
675+
log.log("saved file %s" % name)
676676
return file_name
677677

678678
def get_draft_meta(form, saved_files):
@@ -799,7 +799,7 @@ def apply_check(submission, checker, method, fn):
799799
apply_check(submission, checker, method, file_name[ext])
800800
break
801801
tau = time.time() - mark
802-
log("ran submission checks (%.3fs) for %s" % (tau, file_name))
802+
log.log("ran submission checks (%.3fs) for %s" % (tau, file_name))
803803

804804
def send_confirmation_emails(request, submission, requires_group_approval, requires_prev_authors_approval):
805805
docevent_from_submission(request, submission, desc="Uploaded new revision")

0 commit comments

Comments
 (0)