Fix regression in archive.extracted when it runs file.directory

This is similar to the change made in 28651a6, we no longer need this
code since we're invoking the state function directly instead of via the
state compiler.
This commit is contained in:
Erik Johnson 2017-03-04 23:14:18 -06:00
parent d0440e2a2a
commit 0285ff3c7d

View file

@ -1333,10 +1333,6 @@ def extracted(name,
group=group,
recurse=recurse,
test=__opts__['test'])
try:
dir_result = dir_result[next(iter(dir_result))]
except AttributeError:
pass
log.debug('file.directory: %s', dir_result)
if __opts__['test']: