From 09ab52bc946915d43cdf7dc29ae6947b91871307 Mon Sep 17 00:00:00 2001 From: Brian Wilson Date: Tue, 29 Jan 2013 10:21:41 -0500 Subject: [PATCH] fix log message in pearson import --- .../student/management/commands/pearson_import_conf_zip.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/djangoapps/student/management/commands/pearson_import_conf_zip.py b/common/djangoapps/student/management/commands/pearson_import_conf_zip.py index 9c3a34a90c..d94c3ba863 100644 --- a/common/djangoapps/student/management/commands/pearson_import_conf_zip.py +++ b/common/djangoapps/student/management/commands/pearson_import_conf_zip.py @@ -65,7 +65,7 @@ class Command(BaseCommand): else: try: registration = TestCenterRegistration.objects.get(client_authorization_id=client_authorization_id) - Command.datadog_error("Found authorization record for user {}".format(registration.testcenter_user.user.username), eacfile) + Command.datadog_error("Found authorization record for user {}".format(registration.testcenter_user.user.username), eacfile.name) # now update the record: registration.upload_status = row['Status'] registration.upload_error_message = row['Message']