mirror of
https://github.com/saltstack-formulas/mysql-formula.git
synced 2025-04-15 17:20:25 +00:00
Replace deprecated iteritems() with items()
This commit is contained in:
parent
42b697d4c0
commit
01779eb50a
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@
|
|||
include:
|
||||
- mysql.python
|
||||
|
||||
{% for name, user in salt['pillar.get']('mysql:user', {}).iteritems() %}
|
||||
{% for name, user in salt['pillar.get']('mysql:user', {}).items() %}
|
||||
|
||||
{% set user_host = salt['pillar.get']('mysql:user:%s:host'|format(name)) %}
|
||||
{% if user_host != '' %}
|
||||
|
|
Loading…
Add table
Reference in a new issue