mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Fixing pylint errors
This commit is contained in:
parent
a1b53b482b
commit
f918e08c16
@ -51,6 +51,7 @@ except ImportError:
|
||||
pass
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class SaltRaetRoadStack(ioflo.base.deeding.Deed):
|
||||
'''
|
||||
Initialize and run raet udp stack for Salt
|
||||
@ -225,7 +226,8 @@ class SaltRaetRoadStackRejected(ioflo.base.deeding.Deed):
|
||||
if stack.remotes:
|
||||
rejected = (stack.remotes.values()[0].acceptance
|
||||
== raeting.acceptances.rejected)
|
||||
else: #no remotes so assume rejected
|
||||
else:
|
||||
#no remotes so assume rejected
|
||||
rejected = True
|
||||
self.status.update(rejected=rejected)
|
||||
|
||||
@ -282,6 +284,7 @@ class SaltRaetRoadStackAllowed(ioflo.base.deeding.Deed):
|
||||
allowed = stack.remotes.values()[0].allowed
|
||||
self.status.update(allowed=allowed)
|
||||
|
||||
|
||||
class SaltRaetRoadStackManager(ioflo.base.deeding.Deed):
|
||||
'''
|
||||
Runs the manage method of RoadStack
|
||||
|
Loading…
Reference in New Issue
Block a user