Blob Blame History Raw
From ff1277a665997f340c8926fe1cb9a9c0c4fe3432 Mon Sep 17 00:00:00 2001
From: Tomas Hrnciar <thrnciar@redhat.com>
Date: Mon, 8 Feb 2021 10:55:57 +0100
Subject: [PATCH] python3.10 fix ImportError

---
 tabulate.py | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/tabulate.py b/tabulate.py
index e035a8c..fac90e5 100644
--- a/tabulate.py
+++ b/tabulate.py
@@ -10,10 +10,7 @@ import re
 import math
 
 
-if python_version_tuple() >= ("3", "3", "0"):
-    from collections.abc import Iterable
-else:
-    from collections import Iterable
+from collections.abc import Iterable
 
 if python_version_tuple()[0] < "3":
     from itertools import izip_longest
-- 
2.29.2