New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rabbitmq_user.present: undefined-loop-variable case #8703

Closed
cvrebert opened this Issue Nov 21, 2013 · 1 comment

Comments

Projects
None yet
1 participant
@cvrebert
Contributor

cvrebert commented Nov 21, 2013

Looks like this can actually occur, when perms is empty/unspecified.

************* Module salt.states.rabbitmq_user
salt/states/rabbitmq_user.py:91: [W0631(undefined-loop-variable), present] Using possibly undefined loop variable 'vhost'

In case line numbers differ:

changes['new'] += ' {0} {1} {2}'.format(vhost, name, tags)
@cvrebert

This comment has been minimized.

Show comment
Hide comment
@cvrebert

cvrebert Jan 26, 2014

Contributor

Fixed by #9945.

Contributor

cvrebert commented Jan 26, 2014

Fixed by #9945.

@cvrebert cvrebert closed this Jan 26, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment