Project

General

Profile

Bug #3319

Updated by Tobias Brunner 4 months ago

<pre>
Python 3.7.6 (default, Dec 24 2019, 14:52:26)
[Clang 8.0.1 (tags/RELEASE_801/final 366581)] on freebsd12
Type "help", "copyright", "credits" or "license" for more information.
>>> import vici
>>> s = vici.Session()
>>> s.version()
OrderedDict([('daemon', b'charon'), ('version', b'5.8.2'), ('sysname', b'FreeBSD'), ('release', b'12.1-STABLE'), ('machine', b'amd64')])
>>> s.get_conns()
OrderedDict([('conns', [b'ikev2-eap-mschapv2'])])
>>> s.get_pools()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: get_pools() missing 1 required positional argument: 'options'
</pre>



Python2.7 errors out on:
<pre>
s.get_pools()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: get_pools() takes exactly 2 arguments (1 given)
</pre>

Back