Commit 3bb63f3
committed
Condense FetchInfo.refresh using contextlib.suppress
I think this refactoring slightly improves readability.
+ Condense/sort/group imports (while adding contextlib import).
+ Minor style tweaks in FetchInfo.refresh comments.
+ Make a comment in Git.refresh clearer, building on revisions in:
#1810 (comment)1 parent ae28c98 commit 3bb63f3
2 files changed
+12
-23
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
478 | 478 | | |
479 | 479 | | |
480 | 480 | | |
481 | | - | |
| 481 | + | |
482 | 482 | | |
483 | 483 | | |
484 | 484 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
11 | | - | |
| 12 | + | |
12 | 13 | | |
| 14 | + | |
13 | 15 | | |
| 16 | + | |
14 | 17 | | |
15 | | - | |
16 | | - | |
| 18 | + | |
17 | 19 | | |
| 20 | + | |
| 21 | + | |
18 | 22 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | 26 | | |
33 | 27 | | |
34 | 28 | | |
| |||
345 | 339 | | |
346 | 340 | | |
347 | 341 | | |
348 | | - | |
349 | | - | |
| 342 | + | |
| 343 | + | |
350 | 344 | | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | | - | |
| 345 | + | |
355 | 346 | | |
356 | | - | |
357 | | - | |
358 | 347 | | |
359 | | - | |
| 348 | + | |
360 | 349 | | |
361 | 350 | | |
362 | 351 | | |
| |||
0 commit comments