TAXIIProject / libtaxii

A Python library for handling TAXII Messages invoking TAXII Services.
http://libtaxii.readthedocs.org/
BSD 3-Clause "New" or "Revised" License
70 stars 43 forks source link

scripts/query_client.py is broken #136

Open guidovranken opened 10 years ago

guidovranken commented 10 years ago

scripts/query_client.py is currently broken:

Traceback (most recent call last): File "query_client.py", line 131, in main() File "query_client.py", line 18, in main parser = scripts.get_base_parser("Poll Query Client", path="/services/poll/") AttributeError: 'module' object has no attribute 'get_base_parser'

This seems to be due to the fact that the file is not object-oriented and not uses TaxiiScript as a base class (harder to explain than it in fact is.. just compare query_client.py and poll_client.py, for example).

If you want I can update query_client.py to the OOP form and make it functional again.

Guido

MarkDavidson commented 10 years ago

Please do! -Mark

ScottyAU commented 9 years ago

I'd love to this one fixed too, and then updated so that the alias in /usr/bin is setup on install (so its the same as query_client for example).

MarkDavidson commented 9 years ago

setup.py will also need to be updated to uncomment the query_client

MarkDavidson commented 9 years ago

Just a note, query_client will now be present if you run python setup.py install from the latest version of master.

-Mark