Explorar o código

Fix syntax in Pack.keep docstring.

Jelmer Vernooij %!s(int64=14) %!d(string=hai) anos
pai
achega
8a3f61535e
Modificáronse 1 ficheiros con 5 adicións e 3 borrados
  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: