Skip to content

Commit 33d8118

Browse files
authored
Merge pull request #2636 from pyrevitlabs/fix/2633
Fix/2633 - Callable Import Error
2 parents f15d4bf + 1fdfa4f commit 33d8118

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pyrevitlib/pyrevit/compat.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@
2727
if PY2:
2828
import _winreg as winreg
2929
import ConfigParser as configparser
30-
from collections import Iterable
30+
from collections import Iterable, Callable
3131
import urllib2
3232
from urlparse import urlparse
3333

3434
elif PY3:
3535
import winreg as winreg
3636
import configparser as configparser
37-
from collections.abc import Iterable
37+
from collections.abc import Iterable, Callable
3838
import urllib
3939
from urllib.parse import urlparse
4040

pyrevitlib/pyrevit/coreutils/pyutils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
import re
1111
import copy
1212
from itertools import tee
13-
from collections import OrderedDict, Callable #pylint: disable=E0611
13+
from collections import OrderedDict
1414

15-
from pyrevit.compat import PY2
15+
from pyrevit.compat import PY2, Callable
1616
if PY2:
1717
from itertools import izip as zip
1818

0 commit comments

Comments
 (0)