Commits

rblank  committed b08b6ad

0.12.3dev: Correctly print the warning for environments containing non-ASCII characters in the path.

Patch by Thijs Triemstra. Part of #8829.

  • Participants
  • Parent commits 086fec6
  • Branches 0.12-stable

Comments (0)

Files changed (1)

File trac/admin/console.py

                 unicode(env_path, 'ascii')
             except UnicodeDecodeError:
                 printerr(_("Non-ascii environment path '%(path)s' not "
-                           "supported.", path=env_path))
+                           "supported.", path=to_unicode(env_path)))
                 sys.exit(2)
             admin.env_set(env_path)
             if len(args) > 1: