Drop patches, merged upstream
Sandro Tosi
1 year, 10 months ago
2 | 2 |
* New upstream release
|
3 | 3 |
* debian/watch
|
4 | 4 |
- track github releases
|
|
5 |
* Drop patches, merged upstream
|
5 | 6 |
|
6 | |
-- Sandro Tosi <morph@debian.org> Wed, 22 Jun 2022 23:45:56 -0400
|
|
7 |
-- Sandro Tosi <morph@debian.org> Wed, 22 Jun 2022 23:51:00 -0400
|
7 | 8 |
|
8 | 9 |
nb2plots (0.6-3) unstable; urgency=medium
|
9 | 10 |
|
0 | |
From 79234885fe50937cadd9291894f3f33a9b598672 Mon Sep 17 00:00:00 2001
|
1 | |
From: Jerry James <loganjerry@gmail.com>
|
2 | |
Date: Wed, 30 Oct 2019 08:28:50 -0600
|
3 | |
Subject: [PATCH] Import Sequence from either its new or its old location
|
4 | |
|
5 | |
---
|
6 | |
nb2plots/nbplots.py | 6 +++++-
|
7 | |
1 file changed, 5 insertions(+), 1 deletion(-)
|
8 | |
|
9 | |
diff --git a/nb2plots/nbplots.py b/nb2plots/nbplots.py
|
10 | |
index 0c459a9..2ad9c8f 100644
|
11 | |
--- a/nb2plots/nbplots.py
|
12 | |
+++ b/nb2plots/nbplots.py
|
13 | |
@@ -177,7 +177,11 @@
|
14 | |
|
15 | |
import six
|
16 | |
|
17 | |
-from collections import defaultdict, Sequence
|
18 | |
+try:
|
19 | |
+ from collections.abc import Sequence
|
20 | |
+except ImportError:
|
21 | |
+ from collections import Sequence
|
22 | |
+from collections import defaultdict
|
23 | |
import sys, os, shutil, io, re, textwrap
|
24 | |
from os.path import (relpath, abspath, join as pjoin, dirname, exists,
|
25 | |
basename, splitext, isdir)
|