import urllib.parse as parse
import socket
import logging
+from .arnied_wrapper import accept_licence
+
log = logging.getLogger('pyi2ncommon.web_interface')
-from .arnied_wrapper import accept_licence
#: FQDN of local machine
LOCALHOST = socket.gethostname()
def find_in_form(regex, form="status", escape=False, check_certs=True):
"""
- Find a regex in I2N web page's status frame.
+ Find a regex in given I2N web page form.
:param str regex: regular expression to find
+ :param str form: form name to open
:param bool escape: whether to escape the regex
:param check_certs: forwarded to :py:func:`web_page_request`, see doc there
:returns: whether the regex was found