mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Merge pull request #20839 from rallytime/bp-20608
Backport #20608 to 2014.7
This commit is contained in:
commit
e0ba92f631
@ -105,7 +105,8 @@ class Serial(object):
|
||||
'''
|
||||
data = fn_.read()
|
||||
fn_.close()
|
||||
return self.loads(data)
|
||||
if data:
|
||||
return self.loads(data)
|
||||
|
||||
def dumps(self, msg):
|
||||
'''
|
||||
|
Loading…
Reference in New Issue
Block a user