Chromium Code Reviews| Index: third_party/WebKit/Tools/Scripts/webkitpy/w3c/deps_updater.py |
| diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/w3c/deps_updater.py b/third_party/WebKit/Tools/Scripts/webkitpy/w3c/deps_updater.py |
| index e1745e3f5458b580431a2cbf59095a80fa6f9f1b..22a2c040ecfcb0d5e2a844dee7282f6874f1ef51 100644 |
| --- a/third_party/WebKit/Tools/Scripts/webkitpy/w3c/deps_updater.py |
| +++ b/third_party/WebKit/Tools/Scripts/webkitpy/w3c/deps_updater.py |
| @@ -246,7 +246,9 @@ class DepsUpdater(object): |
| return return_code == 1 |
| def _commit_message(self, chromium_commit, import_commit): |
| - return ('Import %s\n\nUsing update-w3c-deps in Chromium %s.\n\n' % |
| + return ('Import %s\n\n' |
| + 'Using update-w3c-deps in Chromium %s.\n\n' |
| + 'NOEXPORT=true' % |
| (import_commit, chromium_commit)) |
| @staticmethod |
| @@ -357,6 +359,8 @@ class DepsUpdater(object): |
| if build_link: |
| description += 'Build: %s\n\n' % build_link |
| description += 'TBR=qyearsley@chromium.org\n' |
| + # Move any NOEXPORT tag to the end of the description. |
| + description = description.replace('NOEXPORT=true', '') |
|
jeffcarp
2017/01/20 22:12:52
Can you add a unit test for this functionality?
qyearsley
2017/01/20 22:32:44
Of course, good point. Now added one, does it look
|
| description += 'NOEXPORT=true' |
| return description |