Skip to content

Commit 22fbcfd

Browse files
committed
Correct a few docstring
modified: index.rst modified: ../libnmap/objects.py modified: ../libnmap/plugins/backendplugin.py
1 parent 71fb717 commit 22fbcfd

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

docs/index.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ libnmap is a python toolkit for manipulating nmap. It currently offers the follo
1414
- plugins: enables you to support datastores for your scan results directly in the "NmapReport" object from report module
1515

1616
- mongodb: only plugin implemented so far, ultra basic, for POC purpose only
17+
- sqlalchemy: Allow to store/retreive NmapReport to sqlite/mysql/... all engine supported by sqlalchemy
18+
- rabbitMQ : todo
1719
- couchdb: todo
18-
- sqlalchemy: todo
1920
- elastic search: todo
2021
- csv: todo
2122

libnmap/objects.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ def save(self, backend):
627627
628628
The primary key of the stored object is returned.
629629
630-
:return: integer
630+
:return: str
631631
"""
632632
if backend is not None:
633633
#do stuff

libnmap/plugins/backendplugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def insert(self, NmapReport):
1414
"""
1515
insert NmapReport in the backend
1616
:param NmapReport:
17-
:return: the ident of the object in the backend for future usage
17+
:return: str the ident of the object in the backend for future usage
1818
or None
1919
"""
2020
raise NotImplementedError

0 commit comments

Comments
 (0)