summaryrefslogtreecommitdiff
path: root/requirements.txt
diff options
context:
space:
mode:
authorJoshua Harlow <harlowja@yahoo-inc.com>2015-10-14 11:39:09 -0700
committerJoshua Harlow <harlowja@yahoo-inc.com>2015-10-16 11:00:46 -0700
commit43451e5cc767747b64d7b5700800c001b2d1d895 (patch)
treeacb73982e51bc0d9d5324e570d57cf02867319a6 /requirements.txt
parent9ec6cccb77a1e8ec5ba0b0947b3ba5e16502a2db (diff)
downloadoslo-utils-43451e5cc767747b64d7b5700800c001b2d1d895.tar.gz
Expose function signature fetching function
This function is the recommended way to get information about functions going forward, so all the variations of getargspec can just use this instead (including the variations of this used in openstack). This exposes a 'get_signature' function that correctly aliases the exposed function in python3.x and the backwards compat library (funcsigs) that exposes this same information in python2.x Internally in the other reflection functions we now switch away from using getargspec as well, and replace it with using this new signature object/function instead. Depends-On: I1aa0054089ca57fc2d68779f4ee133a9750fec2a Change-Id: I910b353f5db290832ef87bf7c5e5bb2e9788e3ec
Diffstat (limited to 'requirements.txt')
-rw-r--r--requirements.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/requirements.txt b/requirements.txt
index 03ccbe8..cc0898a 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -10,6 +10,7 @@
pbr>=1.6
Babel>=1.3
six>=1.9.0
+funcsigs>=0.4;python_version=='2.7' or python_version=='2.6'
iso8601>=0.1.9
oslo.i18n>=1.5.0 # Apache-2.0
monotonic>=0.3 # Apache-2.0