Skip to content

Commit

Permalink
Rename variable
Browse files Browse the repository at this point in the history
Long name is better than "a"

Closes: #848
Approved by: mhatina
  • Loading branch information
j-mracek authored and DNF Bot committed Jun 26, 2017
1 parent e151db9 commit 65fdd92
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dnf/cli/commands/repoquery.py
Expand Up @@ -376,9 +376,9 @@ def run(self):
if self.opts.whatobsoletes:
q = q.filter(obsoletes=self.opts.whatobsoletes)
if self.opts.whatprovides:
a = q.filter(provides__glob=[self.opts.whatprovides])
if a:
q = a
query_for_provide = q.filter(provides__glob=[self.opts.whatprovides])
if query_for_provide:
q = query_for_provide
else:
q = q.filter(file__glob=self.opts.whatprovides)
if self.opts.alldeps or self.opts.exactdeps:
Expand Down

0 comments on commit 65fdd92

Please sign in to comment.