make indentation more consistent
authorGuido Guenther <agx@sigxcpu.org>
Fri, 26 Sep 2008 14:28:49 +0000 (16:28 +0200)
committerGuido Guenther <agx@sigxcpu.org>
Fri, 26 Sep 2008 14:28:49 +0000 (16:28 +0200)
gbp/git_utils.py

index 9885fc9c4f1d490943a865742f5b35f28ff12ffc..d9307e7727496044653dd9a8df67e2e0708e99c2 100644 (file)
@@ -24,7 +24,6 @@ class GitRepository(object):
             raise GitRepositoryError
         self.path = os.path.abspath(path)
 
-
     def __check_path(self):
         if os.getcwd() != self.path:
             raise GitRepositoryError
@@ -39,7 +38,6 @@ class GitRepository(object):
         output += popen.stdout.readlines()
         return output, ret
 
-
     def has_branch(self, branch):
         """check if the repository has branch 'branch'"""
         self.__check_path()
@@ -48,7 +46,6 @@ class GitRepository(object):
                 return True
         return False
 
-
     def has_treeish(self, treeish):
         """check if the repository has the treeish object treeish"""
         self.__check_path()
@@ -69,7 +66,6 @@ class GitRepository(object):
             if line.startswith('*'):
                 return line.split(' ', 1)[1].strip()
 
-
     def is_clean(self):
         """does the repository contain any uncommitted modifications"""
         self.__check_path()
@@ -83,7 +79,6 @@ class GitRepository(object):
             ret = False
         return (ret, "".join(out))
 
-
     def index_files(self):
         """List files in the index"""
         out, ret = self.__git_getoutput('ls-files', ['-z'])
@@ -171,6 +166,7 @@ def _test():
     import doctest
     doctest.testmod()
 
+
 if __name__ == '__main__':
     _test()