mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Merge pull request #6625 from hulu/pep8-W391-blank-line-at-EOF
rm blank lines at EOFs per pep8 W391
This commit is contained in:
commit
d23b8ec1ed
@ -232,4 +232,3 @@ class Resolver(object):
|
||||
if 'token' not in tdata:
|
||||
return tdata
|
||||
return tdata
|
||||
|
||||
|
@ -182,4 +182,3 @@ class Batch(object):
|
||||
for minion in minion_tracker[queue]['minions']:
|
||||
if minion in active:
|
||||
active.remove(minion)
|
||||
|
||||
|
@ -1029,4 +1029,3 @@ def build_network_settings(**settings):
|
||||
_write_file_network(network, _RH_NETWORK_FILE)
|
||||
|
||||
return _read_file(_RH_NETWORK_FILE)
|
||||
|
||||
|
@ -327,4 +327,3 @@ def tty(device, echo=None):
|
||||
teletype,
|
||||
ret['retcode'])
|
||||
}
|
||||
|
||||
|
@ -53,5 +53,3 @@ def disable():
|
||||
return __salt__['cmd.run'](
|
||||
'netsh advfirewall set allprofiles state off'
|
||||
) == 'Ok.'
|
||||
|
||||
|
||||
|
@ -80,4 +80,3 @@ class RosterMatcher(object):
|
||||
if isinstance(self.raw[minion], dict):
|
||||
return self.raw[minion]
|
||||
return False
|
||||
|
||||
|
@ -108,4 +108,3 @@ def absent(name, zone, data=None, rdtype=None):
|
||||
ret['result'] = False
|
||||
ret['comment'] = 'Failed to delete DNS record(s)'
|
||||
return ret
|
||||
|
||||
|
@ -95,4 +95,3 @@ def license_absent(name):
|
||||
ret['result'] = False
|
||||
ret['comment'] = data['output']
|
||||
return ret
|
||||
|
||||
|
@ -56,4 +56,3 @@ def gen_thin(cachedir):
|
||||
with open(thinver, 'w+') as fp_:
|
||||
fp_.write(salt.__version__)
|
||||
return thintar
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user