diff hgext/phabricator.py @ 43094:e8cf9ad52a78

formatting: run black on all file again Apparently, since the blackgnarok, we divergence from the expected formatting. Formatted using:: grey.py -S $(hg files 'set:**.py - mercurial/thirdparty/** - "contrib/python-zstandard/**" - hgext/fsmonitor/pywatchman/** - contrib/grey.py') # skip-blame mass-reformatting only # no-check-commit reformats foo_bar functions
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 07 Oct 2019 10:58:51 -0400
parents c59eb1560c44
children 8ff1ecfadcd1
line wrap: on
line diff
--- a/hgext/phabricator.py	Mon Oct 07 11:51:34 2019 -0400
+++ b/hgext/phabricator.py	Mon Oct 07 10:58:51 2019 -0400
@@ -775,7 +775,9 @@
                     try:
                         writediffproperties(unfi[newnode], diffmap[old.node()])
                     except util.urlerr.urlerror:
-                        ui.warnnoi18n(b'Failed to update metadata for D%s\n' % drevid)
+                        ui.warnnoi18n(
+                            b'Failed to update metadata for D%s\n' % drevid
+                        )
                 # Remove local tags since it's no longer necessary
                 tagname = b'D%d' % drevid
                 if tagname in repo.tags():