Patchwork [1,of,2,python-hglib] client: wrap long lines at 80 chars

login
register
mail settings
Submitter Yuya Nishihara
Date Oct. 18, 2016, 3:12 p.m.
Message ID <1ec4c46d309dcaef7a9b.1476803532@mimosa>
Download mbox | patch
Permalink /patch/17167/
State Accepted
Headers show

Comments

Yuya Nishihara - Oct. 18, 2016, 3:12 p.m.
# HG changeset patch
# User Yuya Nishihara <yuya@tcha.org>
# Date 1476803024 -32400
#      Wed Oct 19 00:03:44 2016 +0900
# Node ID 1ec4c46d309dcaef7a9bab6415cacbc5caf72dfe
# Parent  6f15cb7cc9cb4427f35c60080f85dbf4ca5abd10
client: wrap long lines at 80 chars

Patch

diff --git a/hglib/client.py b/hglib/client.py
--- a/hglib/client.py
+++ b/hglib/client.py
@@ -571,7 +571,8 @@  class hgclient(object):
         m = re.search(b(r'^committed changeset (\d+):([0-9a-f]+)'), out,
                       re.MULTILINE)
         if not m:
-            raise ValueError('revision and node not found in hg output: %r' % out)
+            raise ValueError('revision and node not found in hg output: %r'
+                             % out)
         rev, node = m.groups()
         return int(rev), node