Skip to content

Commit fadd889

Browse files
phlogistonjohnmergify[bot]
authored andcommitted
commands: work around a new flake8 failure
Suddenly, on the new f43 image ci run flake8 fails. Looking at the error and the code I think this failure is incorrect but I don't want to block the CI and wait for flake8 to be changed. The workaround is low cost and not much harder to understand than the original code. Signed-off-by: John Mulligan <jmulligan@redhat.com>
1 parent 135e58a commit fadd889

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sambacc/commands/cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525

2626
from sambacc import config
2727
from sambacc import leader
28-
from sambacc import opener
2928
from sambacc import permissions
3029
from sambacc import simple_waiter
30+
from sambacc.opener import Opener
3131

3232
_INOTIFY_OK = True
3333
try:
@@ -224,7 +224,7 @@ def require_validation(self) -> typing.Optional[bool]:
224224
"""Return true if configuration needs validation."""
225225

226226
@property
227-
def opener(self) -> opener.Opener:
227+
def opener(self) -> Opener:
228228
"""Return an appropriate opener object for this instance."""
229229

230230

0 commit comments

Comments
 (0)