Skip to content

Commit

Permalink
Fix #5055
Browse files Browse the repository at this point in the history
  • Loading branch information
thatch45 authored and basepi committed May 21, 2013
1 parent 473c515 commit 68ed86a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion salt/state.py
Expand Up @@ -2075,7 +2075,11 @@ def call_highstate(self, exclude=None, cache=None, cache_name='highstate'):
if not high:
return ret
with open(cfn, 'w+') as fp_:
self.serial.dump(high, fp_)
try:
self.serial.dump(high, fp_)
except TypeError:
# Can't serialize pydsl
pass
return self.state.call_high(high)

def compile_highstate(self):
Expand Down

0 comments on commit 68ed86a

Please sign in to comment.