Fix formatting for pydoctor.
authorJelmer Vernooij <jelmer@samba.org>
Sat, 12 Apr 2014 22:58:39 +0000 (00:58 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Sat, 12 Apr 2014 22:58:39 +0000 (00:58 +0200)
dulwich/porcelain.py

index 7b1cd4c4e295e2eb677e93d5725a869d86c44bbc..1bdb0a1cacad4adc1507426585617d18396c980f 100644 (file)
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
 # MA  02110-1301, USA.
 
-import os
-import sys
-import time
-
-from dulwich import index
-from dulwich.client import get_transport_and_path
-from dulwich.errors import (
-    SendPackError,
-    UpdateRefsError,
-    )
-from dulwich.objects import (
-    Tag,
-    parse_timezone,
-    )
-from dulwich.objectspec import parse_object
-from dulwich.patch import write_tree_diff
-from dulwich.repo import (BaseRepo, Repo)
-from dulwich.server import update_server_info as server_update_server_info
-
 """Simple wrapper that provides porcelain-like functions on top of Dulwich.
 
 Currently implemented:
@@ -61,6 +42,25 @@ Differences in behaviour are considered bugs.
 
 __docformat__ = 'restructuredText'
 
+import os
+import sys
+import time
+
+from dulwich import index
+from dulwich.client import get_transport_and_path
+from dulwich.errors import (
+    SendPackError,
+    UpdateRefsError,
+    )
+from dulwich.objects import (
+    Tag,
+    parse_timezone,
+    )
+from dulwich.objectspec import parse_object
+from dulwich.patch import write_tree_diff
+from dulwich.repo import (BaseRepo, Repo)
+from dulwich.server import update_server_info as server_update_server_info
+
 
 def open_repo(path_or_repo):
     """Open an argument that can be a repository or a path for a repository."""
@@ -435,7 +435,7 @@ def push(repo, remote_location, refs_path,
          outstream=sys.stdout, errstream=sys.stderr):
     """Remote push with dulwich via dulwich.client
 
-    :param repo : Path to repository
+    :param repo: Path to repository
     :param remote_location: Location of the remote
     :param refs_path: relative path to the refs to push to remote
     :param outstream: A stream file to write output
@@ -465,7 +465,7 @@ def push(repo, remote_location, refs_path,
 
 def pull(repo, remote_location, refs_path,
          outstream=sys.stdout, errstream=sys.stderr):
-    """ Pull from remote via dulwich.client
+    """Pull from remote via dulwich.client
 
     :param repo: Path to repository
     :param remote_location: Location of the remote