Browse Source

[core] Remove internationalization for log messages

Tatsuo Kawasaki 10 years ago
parent
commit
26435d7616
1 changed files with 2 additions and 2 deletions
  1. 2 2
      apps/jobbrowser/src/jobbrowser/views.py

+ 2 - 2
apps/jobbrowser/src/jobbrowser/views.py

@@ -284,8 +284,8 @@ def job_attempt_logs_json(request, job, attempt_index=0, name='syslog', offset=0
   except Exception, e:
   except Exception, e:
     log = _('Failed to retrieve log: %s' % e)
     log = _('Failed to retrieve log: %s' % e)
     try:
     try:
-      debug_info = _('\nLog Link: %s' % log_link)
-      debug_info += _('\nHTML Response: %s' % response)
+      debug_info = '\nLog Link: %s' % log_link
+      debug_info += '\nHTML Response: %s' % response
       LOGGER.error(debug_info)
       LOGGER.error(debug_info)
     except:
     except:
       pass
       pass