Skip to content

Commit 17bd4d3

Browse files
committed
Print warning about created repositories only in verbose mode
1 parent 863e293 commit 17bd4d3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fedora_revdep_check.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ def _init_dnf(self):
198198
print(f" Warning: Repository '{repo_id}' not found in configuration and no default available")
199199

200200
# Show warning if any repos were auto-created
201-
if repos_created:
201+
if repos_created and self.verbose:
202202
print(f"Warning: Using default configuration for repositories: {', '.join(repos_created)}")
203203
print(" Consider installing the repository configuration in /etc/yum.repos.d/")
204204

0 commit comments

Comments
 (0)