Explorar el Código

Fixing string formatting in salt/state.py

Gareth J. Greenaway hace 4 años
padre
commit
2943e12523
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      salt/state.py

+ 2 - 2
salt/state.py

@@ -4033,8 +4033,8 @@ class BaseHighState:
                             levels, include = match.groups()
                         else:
                             msg = (
-                                "Badly formatted include {0} found in include "
-                                "in SLS '{2}:{3}'".format(inc_sls, saltenv, sls)
+                                "Badly formatted include {} found in include "
+                                "in SLS '{}:{}'".format(inc_sls, saltenv, sls)
                             )
                             log.error(msg)
                             errors.append(msg)