@@ -19,14 +19,13 @@ async def commit_and_push_changes(repo: RepoState) -> None:
1919
2020
2121def print_modified_repositories (repos : dict [str , RepoState ]):
22- print ()
2322 branch = next (iter (repos .values ())).branch
24- print ('\033 [1;34m|' + f'Created branch: { branch } ' .center (77 , '-' ) + '|\033 [0m' )
23+ print ('\n \ 033 [1;34m|' + f'Created branch: { branch } ' .center (77 , '-' ) + '|\033 [0m' )
2524 should_print_not_modified_repos = False
2625 print_repo_exceptions = False
2726 for repo in repos .values ():
2827 if repo .modification_state == ModificationState .PUSHED_TO_REMOTE .value :
29- print (f'\033 [1;34m|\033 [0m - { repo .url .ljust (73 , " " )} \033 [1;34m|\033 [0m' )
28+ print (f'\033 [1;34m|\033 [0m { repo .url .ljust (73 , " " )} \033 [1;34m|\033 [0m' )
3029 else :
3130 if repo .modification_state == ModificationState .GOT_EXCEPTION .value :
3231 print_repo_exceptions = True
@@ -41,7 +40,7 @@ def print_modified_repositories(repos: dict[str, RepoState]):
4140 for repo in repos .values ():
4241 if repo .cloning_state != ModificationState .PUSHED_TO_REMOTE .value :
4342 print (
44- f'\033 [1;34m|\033 [0m - { (repo .url + " " + repo .modification_state ).ljust (73 , " " )} \033 [1;34m|\033 [0m'
43+ f'\033 [1;34m|\033 [0m { (repo .url + " " + repo .modification_state ).ljust (73 , " " )} \033 [1;34m|\033 [0m'
4544 )
4645
4746 if print_repo_exceptions :
@@ -52,7 +51,7 @@ def print_modified_repositories(repos: dict[str, RepoState]):
5251 if repo .cloning_state == ModificationState .GOT_EXCEPTION .value :
5352 print (
5453 '\033 [1;34m|\033 [0m'
55- f' - { (repo .url + " " + repo .modification_state ).ljust (73 , " " )} :'
54+ f' { (repo .url + " " + repo .modification_state ).ljust (73 , " " )} :'
5655 '\033 [1;34m|\033 [0m'
5756 )
5857 print (repo .stderr )
0 commit comments