Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: sitescripts/extensions/utils.py

Issue 29370859: Issue 4767 - Improve error reporting in update_update_manifests (Closed)
Patch Set: For comments 3 to 5 by jon Created Jan. 9, 2017, 6:35 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sitescripts/extensions/utils.py
===================================================================
--- a/sitescripts/extensions/utils.py
+++ b/sitescripts/extensions/utils.py
@@ -323,7 +323,8 @@
repo.repositoryName)
except ExpatError:
traceback.print_exc()
- print "Error found while parsing xml from %s link" % repo.repositoryName
+ print 'Error found while parsing xml from {0} link'\
Vasily Kuznetsov 2017/01/09 21:59:54 Breaking lines with a backslash (`\`) is generally
Vasily Kuznetsov 2017/01/09 22:01:12 Sorry, I meant that this print statement will prin
+ .format(repo.repositoryName)
continue
except:
traceback.print_exc()
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld