Kaydet (Commit) 0fd59acc authored tarafından Antoine Pitrou's avatar Antoine Pitrou

Issue #11621: fix bootstrap issue with getopt/gettext (following d3e46930ffe9)

üst 499dfcf2
......@@ -34,7 +34,11 @@ option involved with the exception.
__all__ = ["GetoptError","error","getopt","gnu_getopt"]
import os
from gettext import gettext as _
try:
from gettext import gettext as _
except ImportError:
# Bootstrapping Python: gettext's dependencies not built yet
def _(s): return s
class GetoptError(Exception):
opt = ''
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment