소스 검색

Fix syntax in Pack.keep docstring.

Jelmer Vernooij 14 년 전
부모
커밋
8a3f61535e
1개의 변경된 파일5개의 추가작업 그리고 3개의 파일을 삭제
  1. 5 3
      dulwich/pack.py

+ 5 - 3
dulwich/pack.py

@@ -1500,9 +1500,11 @@ class Pack(object):
 
     def keep(self, msg=None):
         """Add a .keep file for the pack, preventing git from garbage collecting it.
-           :param msg: A message written inside the .keep file; can be used later to
-                       determine whether or not a .keep file is obsolete.
-           :return: The path of the .keep file, as a string."""
+
+        :param msg: A message written inside the .keep file; can be used later to
+                    determine whether or not a .keep file is obsolete.
+        :return: The path of the .keep file, as a string.
+        """
         keepfile_name = '%s.keep' % self._basename
         keepfile = GitFile(keepfile_name, 'wb')
         try: