From 424a50000a78fff715de4417dba9b4498aeeee4c Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Fri, 29 Sep 2017 13:40:02 +0300 Subject: Imported python3.5 3.5.4-4 --- debian/patches/gdbm-import.diff | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 debian/patches/gdbm-import.diff (limited to 'debian/patches/gdbm-import.diff') diff --git a/debian/patches/gdbm-import.diff b/debian/patches/gdbm-import.diff new file mode 100644 index 0000000..2be2934 --- /dev/null +++ b/debian/patches/gdbm-import.diff @@ -0,0 +1,12 @@ +# DP: suggest installation of python3-gdbm package on failing _gdbm import + +--- a/Lib/dbm/gnu.py ++++ b/Lib/dbm/gnu.py +@@ -1,3 +1,6 @@ + """Provide the _gdbm module as a dbm submodule.""" + +-from _gdbm import * ++try: ++ from _gdbm import * ++except ImportError as msg: ++ raise ImportError(str(msg) + ', please install the python3-gdbm package') -- cgit v1.2.3