Prechádzať zdrojové kódy

For the moment, allow passing non-kwargs to Repo._init_files

Jelmer Vernooij 1 rok pred
rodič
commit
975033fde2
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      dulwich/repo.py

+ 1 - 1
dulwich/repo.py

@@ -335,7 +335,7 @@ class BaseRepo:
         """
         raise NotImplementedError(self._determine_symlinks)
 
-    def _init_files(self, *, bare: bool, symlinks: Optional[bool] = None) -> None:
+    def _init_files(self, bare: bool, symlinks: Optional[bool] = None) -> None:
         """Initialize a default set of named files."""
         from .config import ConfigFile