2
0
Эх сурвалжийг харах

Fix syntax in Pack.keep docstring.

Jelmer Vernooij 14 жил өмнө
parent
commit
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: