Skip to content

Commit 8a49bf7

Browse files
m-blahaj-mracek
authored andcommitted
warn method of logging.Logger is deprecated
1 parent cb8d0f9 commit 8a49bf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dnf/cli/commands/repolist.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def run(self):
118118
tot_num = 0
119119
cols = []
120120
if not repos:
121-
logger.warn(_('No repositories available'))
121+
logger.warning(_('No repositories available'))
122122
return
123123

124124
for repo in repos:

0 commit comments

Comments
 (0)