Skip to content

Commit

Permalink
fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
mhecko committed Jun 15, 2023
1 parent e00708c commit b5003e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
9 changes: 1 addition & 8 deletions repos/system_upgrade/common/actors/cloud/checkrhui/actor.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
import os

from leapp import reporting
from leapp.actors import Actor
from leapp.libraries.actor import checkrhui as checkrhui_lib
from leapp.libraries.common import rhsm, rhui
from leapp.libraries.common.config.version import get_source_major_version
from leapp.libraries.common.rpms import has_package
from leapp.libraries.stdlib import api
from leapp.models import (
CopyFile,
DNFPluginTask,
Expand All @@ -17,7 +10,7 @@
RpmTransactionTasks,
TargetUserSpacePreupgradeTasks
)
from leapp.reporting import create_report, Report
from leapp.reporting import Report
from leapp.tags import FactsPhaseTag, IPUWorkflowTag


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ def mk_pkg(name):
return RPM(name=name, version='0.1', release='1.sm01', epoch='1', packager=RH_PACKAGER, arch='noarch',
pgpsig='RSA/SHA256, Mon 01 Jan 1970 00:00:00 AM -03, Key ID 199e2f91fd431d51')


def mk_setup_info():
pre_tasks = TargetRHUIPreInstallTasks()
post_tasks = TargetRHUIPostInstallTasks()
Expand All @@ -50,7 +51,7 @@ def iter_known_rhui_setups():
for provider_variant, variant_description in providers.items():
src_clients = variant_description['src_pkg']
if isinstance(src_clients, str):
src_clients = {src_clients,}
src_clients = {src_clients, }

yield provider_variant, upgrade_path, src_clients

Expand Down

0 comments on commit b5003e8

Please sign in to comment.