Commits

Andy Tang committed 46f9f6e

fix pep8 issues

  • Participants
  • Parent commits f12155f

Comments (0)

Files changed (2)

         return branch.strip()
 
     def get_branches(self):
-        """ 
+        """
             Returns a list of branches from the repo, including versions.
 
             If get_active_only is True, then only return active branches.

hgapi/testhgapi.py

         self.assertEquals(len(branch_names), 2)
 
         # Test branch name with space
-        self.assertTrue(self.repo.hg_branch('test branch with space').startswith(
-            "marked working directory as branch test branch with space"))
+        self.assertTrue(self.repo.hg_branch('test branch with space').
+                        startswith("marked working directory as branch " +
+                        "test branch with space"))
         self.assertEquals(self.repo.hg_branch(), "test branch with space")
         self.repo.hg_commit("commit test branch with space")
         self.assertEquals(self.repo.hg_branch(), "test branch with space")