#353 Fix CreateEnvCheck: AttributeError
Merged 5 years ago by ngompa. Opened 5 years ago by churchyard.
churchyard/FedoraReview i352  into  master

file modified
+2 -2
@@ -248,9 +248,9 @@ 

  

  def _write_tag(spec, env, tag):

      """ Substitute a spec tag into env. """

-     value = spec.expand_tag(tag.upper()).decode("utf-8")

+     value = spec.expand_tag(tag.upper())

      if value:

-         env = env.replace("@" + tag + "@", value)

+         env = env.replace("@" + tag + "@", value.decode("utf-8"))

      else:

          env = env.replace("@" + tag + "@", '""')

      return env

Pull-Request has been merged by ngompa

5 years ago
Metadata