mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
pylint cleanup
This commit is contained in:
parent
5c7df1431b
commit
6b3d1bcb76
@ -1,5 +1,10 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
import logging
|
||||||
|
|
||||||
from salt.transport.client import ReqChannel
|
from salt.transport.client import ReqChannel
|
||||||
|
|
||||||
|
log = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
||||||
class LocalChannel(ReqChannel):
|
class LocalChannel(ReqChannel):
|
||||||
'''
|
'''
|
||||||
@ -22,7 +27,7 @@ class LocalChannel(ReqChannel):
|
|||||||
'data': ''.join(f.readlines()),
|
'data': ''.join(f.readlines()),
|
||||||
'dest': load['path'],
|
'dest': load['path'],
|
||||||
}
|
}
|
||||||
print 'returning', ret
|
print ('returning', ret)
|
||||||
else:
|
else:
|
||||||
# end of buffer
|
# end of buffer
|
||||||
ret = {
|
ret = {
|
||||||
|
Loading…
Reference in New Issue
Block a user