Merge "Python2: Add funcsigs dependency"

This commit is contained in:
Zuul 2017-11-09 14:40:42 +00:00 committed by Gerrit Code Review
commit 6ec607639b
2 changed files with 8 additions and 1 deletions

View File

@ -11,7 +11,6 @@
# under the License.
import abc
import collections
import inspect
import logging
import threading
import time
@ -21,6 +20,11 @@ from typing import Iterable
from typing import Optional
from typing import TYPE_CHECKING
try:
import funcsigs as inspect # Python 2.7
except ImportError:
import inspect
from ospurge import exceptions
if TYPE_CHECKING: # pragma: no cover

View File

@ -2,3 +2,6 @@ os-client-config>=1.22.0 # Apache-2.0
pbr>=1.8 # Apache-2.0
shade>=1.13.1
typing>=3.5.2.2 # PSF
# Python 2.7 dependencies
funcsigs; python_version < '3.0'