Explorar o código

Fix docstring

Boris Feld %!s(int64=6) %!d(string=hai) anos
pai
achega
dcc4ea9bbc
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      dulwich/index.py

+ 3 - 1
dulwich/index.py

@@ -605,7 +605,9 @@ def read_submodule_head(path):
 
 
 def has_directory_changed(error, tree_path, entry):
-    """ When handling an error trying to create a blob from a path, call this
+    """ check if a directory has changed after getting an error
+
+    When handling an error trying to create a blob from a path, call this
     function. It will check if the path is a directory. If it's a directory
     and a submodule, check the submodule head to see if it's has changed. If
     not, consider the file as changed as Git tracked a file and not a