Created
January 16, 2016 01:43
-
-
Save smurugap/4c81dfb300e03bd64ede to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Edit __get__ of APIParamsCall() Class /usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py | |
The self.function will be the actual neutron client api function | |
if 'format' in kwargs: | |
instance.format = kwargs['format'] | |
print self.function | |
ret = self.function(instance, *args, **kwargs) | |
instance.format = _format | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment