getargspec usage not 2.4/2.5 compliant #24

Closed
k0s opened this Issue Aug 13, 2012 · 1 comment

Comments

Projects
None yet
1 participant
@k0s
Contributor

k0s commented Aug 13, 2012

old inspect.getargspec returns a tuple:

Traceback (most recent call last):
File "run_tests.py", line 298, in
main()
File "run_tests.py", line 295, in main
run_tests(parser)
File "run_tests.py", line 271, in run_tests
talos_results.output(results_urls, **results_options)
File "/home/cltbld/talos-slave/talos-data/talos/results.py", line 77, in output
_output.output(results, url)
File "/home/cltbld/talos-slave/talos-data/talos/output.py", line 394, in output
self.post(results, results_server, results_path, results_scheme)
File "/home/cltbld/talos-slave/talos-data/talos/output.py", line 456, in post
req = DatazillaRequest.create(scheme, server, project, self.oauth_key, self.oauth_secret, results)
File "/home/cltbld/talos-slave/talos-data/talos/dzclient.py", line 155, in create
attributes = inspect.getargspec(DatazillaResultsCollection.init).args[1:]
AttributeError: 'tuple' object has no attribute 'args'

For bug 763550 we should ensure that the old way works

@k0s

This comment has been minimized.

Show comment
Hide comment
@k0s

k0s Aug 13, 2012

Contributor

#25

Contributor

k0s commented Aug 13, 2012

#25

@k0s k0s closed this Aug 13, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment