This repository was archived by the owner on Jul 9, 2025. It is now read-only.
Commit 7e79162
committed
Bug 1942210 - Simplify gecko_taskgraph.util.get_file_finder. r=taskgraph-reviewers,jcristau
- get_repository_object takes a string or a Path, but that makes no
difference, so the second call doesn't need the explicit Path
conversion.
- repo.get_tracked_files_finder either returns something or None, so the
first branch can be simplified to return repo.get_tracked_files_finder()
- then we can obviously see branches are just the same thing.
Differential Revision: https://phabricator.services.mozilla.com/D2346311 parent 819432c commit 7e79162
1 file changed
+1
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
| 24 | + | |
37 | 25 | | |
38 | 26 | | |
39 | 27 | | |
| |||
0 commit comments