Bug 1054112 - Remove CR from prevent_webidl_changes; r=ehsan
authorGregory Szorc <gps@mozilla.com>
Thu, 14 Aug 2014 21:28:52 -0700
changeset 914 09c744458c68
parent 913 342a1bddd7a9
child 915 086c1ad25d16
push id127
push usergszorc@mozilla.com
push dateFri, 15 Aug 2014 16:03:37 +0000
treeherderversion-control-tools@086c1ad25d16 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersehsan
bugs1054112
Bug 1054112 - Remove CR from prevent_webidl_changes; r=ehsan
hghooks/mozhghooks/prevent_webidl_changes.py
--- a/hghooks/mozhghooks/prevent_webidl_changes.py
+++ b/hghooks/mozhghooks/prevent_webidl_changes.py
@@ -98,17 +98,17 @@ def hook(ui, repo, hooktype, node, **kwa
                   return False
                 webidlReviewed = search()
                 if not webidlReviewed and not isBackout(message):
                         error += "WebIDL file %s altered in changeset %s without DOM peer review\n" % (file, short(c.node()))
     # Check if an error occured in any of the files that were changed
     if error != "":
         print "\n\n************************** ERROR ****************************"
         ui.warn("\n" + error + "\n")
-        print "\n\rChanges to WebIDL files in this repo require review from a DOM peer in the form of r=...\n\rThis is to ensure that we behave responsibly with exposing new Web APIs. We appreciate your understanding..\n\r"
+        print "\nChanges to WebIDL files in this repo require review from a DOM peer in the form of r=...\nThis is to ensure that we behave responsibly with exposing new Web APIs. We appreciate your understanding..\n"
         print "*************************************************************\n\n"
         # Reject the changesets
         return 1
     else:
         if webidlReviewed:
             print "You've received proper review from a DOM peer on your WebIDL change(s) in your push, thanks for paying enough attention."
     # Accept the changesets
     return 0