Skip to content

Commit

Permalink
Remove unused loops attribute from DepSolveProgressCallBack
Browse files Browse the repository at this point in the history
  • Loading branch information
m-blaha authored and pkratoch committed Dec 16, 2020
1 parent ad6389d commit da54270
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions dnf/cli/output.py
Original file line number Diff line number Diff line change
Expand Up @@ -1987,10 +1987,6 @@ def historyInfoCmdPkgsAltered(self, old, pats=[]):
class DepSolveProgressCallBack(dnf.callback.Depsolve):
"""Provides text output callback functions for Dependency Solver callback."""

def __init__(self):
"""requires yum-cli log and errorlog functions as arguments"""
self.loops = 0

def pkg_added(self, pkg, mode):
"""Print information about a package being added to the
transaction set.
Expand Down Expand Up @@ -2037,7 +2033,6 @@ def start(self):
process.
"""
logger.debug(_('--> Starting dependency resolution'))
self.loops += 1

def end(self):
"""Output a message stating that dependency resolution has finished."""
Expand Down

0 comments on commit da54270

Please sign in to comment.