Explorar o código

Fixing string formatting in salt/state.py

Gareth J. Greenaway %!s(int64=4) %!d(string=hai) anos
pai
achega
2943e12523
Modificáronse 1 ficheiros con 2 adicións e 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)