changeset 133:b6f601ba7f3c

style: fixup whitespace
author Matt Mackall <mpm@selenic.com>
date Tue, 30 Sep 2014 11:23:15 -0500
parents 9ecb271600fc
children 1b47146a4a2c
files hglib/client.py tests/test-context.py tests/test-phase.py
diffstat 3 files changed, 4 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- 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):
--- 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)
-
-
--- 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]))