Jelajahi Sumber

Fixing string formatting in salt/state.py

Gareth J. Greenaway 4 tahun lalu
induk
melakukan
2943e12523
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  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)