splunk-sdk-python icon indicating copy to clipboard operation
splunk-sdk-python copied to clipboard

Unused variables

Open ansman opened this issue 15 years ago • 4 comments

I've found a lot of unused variables in the SDK and they should be looked at to find out if they should be used.

This applies to these methods:

  • Conf#submit
  • Index#submit
  • Index#upload
  • Inputs#create
  • Inputs#delete

ansman avatar Nov 03 '11 17:11 ansman

Are you saying these functions have variables in them that are not used, or that the functions themselves are not used?

For example, looking at Index#upload, it seems to me that every variable there is used, no?

itay avatar Nov 03 '11 18:11 itay

in Index#upload the last variable, response, isn't used

ansman avatar Nov 03 '11 19:11 ansman

Fair enough, I'll look into it and remove the unused ones.

itay avatar Nov 03 '11 19:11 itay

Fix checked in to develop.

blovering avatar Feb 27 '12 23:02 blovering