Traceback (most recent call last):


 "/tmp/tmp.8wcYIPL3yV/lib/python3.5/site-packages/salt/state.py", line 1934, in call

**cdata['kwargs'])


 "/tmp/tmp.8wcYIPL3yV/lib/python3.5/site-packages/salt/loader.py", line 1799, in wrapper

return f(*args, **kwargs)


 "/tmp/tmp.8wcYIPL3yV/lib/python3.5/site-packages/salt/states/docker_image.py", line 329, in present

msg = exc.__str__()
UnboundLocalError: local variable 'exc' referenced before assignment

[DEBUG
] Traceback (most recent call last):


 "/usr/lib/python2.7/site-packages/salt/states/file.py", line 2598, in managed

**kwargs)


 "/usr/lib/python2.7/site-packages/salt/modules/file.py", line 5256, in manage_file

show_changes=show_changes, template=True)


 "/usr/lib/python2.7/site-packages/salt/modules/file.py", line 5015, in get_diff

return ret
UnboundLocalError: local variable 'ret' referenced before assignment
