Commit 3a4be990 authored by Michal Čihař's avatar Michal Čihař

PEP-8 fixes

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 32340436
......@@ -271,7 +271,8 @@ class VCSHgTest(VCSGitTest):
def test_set_committer(self):
self.repo.set_committer(u'Foo Bar Žač', 'foo@example.net')
self.assertEqual(
self.repo.get_config('ui', 'username'), u'Foo Bar Žač <foo@example.net>'
self.repo.get_config('ui', 'username'),
u'Foo Bar Žač <foo@example.net>'
)
def test_revision(self):
......
......@@ -610,14 +610,14 @@ class HgRepository(Repository):
TODO: Need to figure out remote revision
"""
self.set_config('extensions', 'strip' ,'')
self.set_config('extensions', 'strip', '')
self.execute(['strip'])
def rebase(self, branch=None, abort=False):
"""
Rebases working copy on top of remote branch.
"""
self.set_config('extensions', 'rebase' ,'')
self.set_config('extensions', 'rebase', '')
if abort:
self.execute(['rebase', '--abort'])
else:
......@@ -781,8 +781,8 @@ class HgRepository(Repository):
self.set_config('paths', 'default-push', push_url)
# We also enable some necessary extensions here
self.set_config('extensions', 'strip' ,'')
self.set_config('extensions', 'rebase' ,'')
self.set_config('extensions', 'strip', '')
self.set_config('extensions', 'rebase', '')
def configure_branch(self, branch):
"""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment