Skip to content

Commit

Permalink
Fix typo introduced in f0d1043
Browse files Browse the repository at this point in the history
  • Loading branch information
terminalmage committed Jan 18, 2013
1 parent 4e0173d commit 576b844
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion salt/modules/pkgutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def upgrade(refresh=True, **kwargs):
salt '*' pkgutil.upgrade
'''
# Catch both boolean input from state and string input from CLI
if refresh is True or (refresh).lower() == 'true':
if refresh is True or str(refresh).lower() == 'true':
refresh_db()

# Get a list of the packages before install so we can diff after to see
Expand Down

0 comments on commit 576b844

Please sign in to comment.