File: 0001-Detect-broken-basemap.patch

package info (click to toggle)
pyresample 1.34.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 34,800 kB
  • sloc: python: 20,325; cpp: 463; makefile: 105
file content (23 lines) | stat: -rw-r--r-- 666 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Antonio Valentino <antonio.valentino@tiscali.it>
Date: Sun, 1 Sep 2019 06:37:12 +0000
Subject: Detect broken basemap

https://github.com/matplotlib/basemap/pull/454
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=939022
---
 pyresample/test/test_plot.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyresample/test/test_plot.py b/pyresample/test/test_plot.py
index e186754..83dfe01 100644
--- a/pyresample/test/test_plot.py
+++ b/pyresample/test/test_plot.py
@@ -34,7 +34,7 @@ except ImportError:
 
 try:
     from mpl_toolkits.basemap import Basemap
-except ImportError:
+except (ImportError, AttributeError):
     Basemap = None