# HG changeset patch # User Matt Mackall # Date 1412094195 18000 # Node ID b6f601ba7f3c6cc665951c6ea544ba4f351509e3 # Parent 9ecb271600fcf52ab18e529cd1ef28e92fe96307 style: fixup whitespace diff -r 9ecb271600fc -r b6f601ba7f3c hglib/client.py --- a/hglib/client.py Tue Sep 30 12:00:34 2014 +0200 +++ b/hglib/client.py Tue Sep 30 11:23:15 2014 -0500 @@ -55,7 +55,7 @@ self.server = None self._version = None - #include the hidden changesets if True + # include the hidden changesets if True self.hidden = None if connect: @@ -1553,7 +1553,7 @@ out = self.rawcommand(args, eh=eh) m = re.search(r'^(\d+).+, (\d+).+, (\d+).+, (\d+)', out, re.MULTILINE) - return tuple(map(int,list(m.groups()))) + return tuple(map(int, list(m.groups()))) @property def version(self): diff -r 9ecb271600fc -r b6f601ba7f3c tests/test-context.py --- a/tests/test-context.py Tue Sep 30 12:00:34 2014 +0200 +++ b/tests/test-context.py Tue Sep 30 11:23:15 2014 -0500 @@ -86,8 +86,6 @@ self.assertIn(hash_1, self.client) self.assertNotIn(2, self.client) hash_2 = self.client.log(1)[0][1] - self.assertIn(hash_2,self.client) + self.assertIn(hash_2, self.client) hash_2 = 'deadbeef' self.assertNotIn(hash_2, self.client) - - diff -r 9ecb271600fc -r b6f601ba7f3c tests/test-phase.py --- a/tests/test-phase.py Tue Sep 30 12:00:34 2014 +0200 +++ b/tests/test-phase.py Tue Sep 30 11:23:15 2014 -0500 @@ -42,6 +42,4 @@ rev, node2 = self.client.commit('c', addremove=True) self.client.phase(node2, secret=True, force=True) self.assertEqual([(0, 'public'), (2, 'secret'), (1, 'draft')], - self.client.phase([node0,node2,node1])) - - + self.client.phase([node0, node2, node1]))