There was an error while loading. Please reload this page.
1 parent 5ba6397 commit da40b62Copy full SHA for da40b62
google/cloud/bigquery/job.py
@@ -3116,7 +3116,7 @@ def _format_for_exception(query, job_id):
3116
template = "\n\n(job ID: {job_id})\n\n{header}\n\n{ruler}\n{body}\n{ruler}"
3117
3118
lines = query.splitlines()
3119
- max_line_len = max(len(l) for l in lines)
+ max_line_len = max(len(line) for line in lines)
3120
3121
header = "-----Query Job SQL Follows-----"
3122
header = "{:^{total_width}}".format(header, total_width=max_line_len + 5)
0 commit comments