Skip to content

Commit 9eb3c51

Browse files
Adjust GMPNext imports
Co-authored-by: Björn Ricks <[email protected]>
1 parent d01e955 commit 9eb3c51

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

gvm/protocols/gmp/_gmpnext.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class GMPNext(GMPv227[T]):
2323
2424
.. code-block:: python
2525
26-
from gvm.protocols.gmp import GMPNext as GMP
26+
from gvm.protocols.gmp.next import GMP
2727
2828
with GMP(connection) as gmp:
2929
resp = gmp.get_tasks()

gvm/protocols/next.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121

2222
from .gmp import (
2323
GMPNext as Gmp,
24+
GMPNext as GMP,
2425
)
2526
from .ospv1 import Osp
2627

0 commit comments

Comments
 (0)