Skip to content

Commit

Permalink
Fix line error
Browse files Browse the repository at this point in the history
  • Loading branch information
twangboy committed Jul 5, 2016
1 parent 2479b53 commit 4373408
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions salt/states/file.py
Original file line number Diff line number Diff line change
Expand Up @@ -3459,16 +3459,16 @@ def append(name,
.. versionadded:: 0.9.5
'''
if not name:
return _error(ret, 'Must provide name to file.append')

name = os.path.expanduser(name)

ret = {'name': name,
'changes': {},
'result': False,
'comment': ''}

if not name:
return _error(ret, 'Must provide name to file.append')

name = os.path.expanduser(name)

if sources is None:
sources = []

Expand Down

0 comments on commit 4373408

Please sign in to comment.