From c089c4500b0b78acf03ee5405ad250a84b0dfa66 Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Sun, 1 Dec 2019 17:44:24 +0300 Subject: Import python3.7 (3.7.5-2) --- debian/patches/lib-argparse.diff | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'debian/patches/lib-argparse.diff') 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==' + -- cgit v1.2.3