Simplify code

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
Lubomír Sedlář 2017-01-13 12:51:34 +01:00
parent 99699b85aa
commit 5ef630d6d4

View File

@ -530,9 +530,9 @@ class Gather(GatherBase):
self.finished_add_debug_packages[pkg] = [] self.finished_add_debug_packages[pkg] = []
continue continue
try: if pkg in self.finished_add_debug_packages:
debug_pkgs = self.finished_add_debug_packages[pkg] continue
except KeyError:
debug_pkgs = [] debug_pkgs = []
if pkg.sourcerpm: if pkg.sourcerpm:
if self.is_native_package(pkg): if self.is_native_package(pkg):