diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2019-12-01 17:44:24 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2019-12-01 17:44:24 +0300 |
commit | c089c4500b0b78acf03ee5405ad250a84b0dfa66 (patch) | |
tree | 23870848d194569aff6e0e4e41bc7907960b1af1 /debian/patches/lib-argparse.diff | |
parent | 377002e7300431b68f3548d9fd2c7f99cf883939 (diff) | |
download | python3.7-debian.tar.gz |
Import python3.7 (3.7.5-2)debian/3.7.5-2debian
Diffstat (limited to 'debian/patches/lib-argparse.diff')
-rw-r--r-- | debian/patches/lib-argparse.diff | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/debian/patches/lib-argparse.diff b/debian/patches/lib-argparse.diff index c9d604a..28856ff 100644 --- a/debian/patches/lib-argparse.diff +++ b/debian/patches/lib-argparse.diff @@ -1,10 +1,12 @@ # DP: argparse.py: Make the gettext import conditional +Index: b/Lib/argparse.py +=================================================================== --- a/Lib/argparse.py +++ b/Lib/argparse.py -@@ -90,7 +90,16 @@ +@@ -87,7 +87,16 @@ import os as _os + import re as _re import sys as _sys - import textwrap as _textwrap -from gettext import gettext as _, ngettext +try: @@ -18,5 +20,5 @@ + else: + return plural - SUPPRESS = '==SUPPRESS==' + |