mirror of
https://codeberg.org/librewolf/source.git
synced 2024-12-22 05:33:03 -05:00
This should be it
This commit is contained in:
parent
6a41d5c3c4
commit
e1de9eb5e7
1 changed files with 5 additions and 2 deletions
|
@ -14,9 +14,12 @@ diff --git a/python/mozversioncontrol/mozversioncontrol/__init__.py b/python/moz
|
||||||
|
|
||||||
def add_remove_files(self, *paths: Union[str, Path]):
|
def add_remove_files(self, *paths: Union[str, Path]):
|
||||||
pass
|
pass
|
||||||
@@ -995,7 +995,9 @@ class SrcRepository(Repository):
|
@@ -993,9 +993,11 @@ class SrcRepository(Repository):
|
||||||
|
"""
|
||||||
|
res = []
|
||||||
# move away the .git or .hg folder from path to more easily test in a hg/git repo
|
# move away the .git or .hg folder from path to more easily test in a hg/git repo
|
||||||
for root, dirs, files in os.walk("."):
|
- for root, dirs, files in os.walk("."):
|
||||||
|
+ for root, dirs, files in os.walk(path):
|
||||||
for name in files:
|
for name in files:
|
||||||
- res.append(os.path.join(root, name))
|
- res.append(os.path.join(root, name))
|
||||||
+ res.append(
|
+ res.append(
|
||||||
|
|
Loading…
Reference in a new issue