MCPcopy Create free account
hub / github.com/secdev/scapy / _prompt

Method _prompt

scapy/modules/ticketer.py:568–574  ·  view source on GitHub ↗
(self, msg)

Source from the content-addressed store, hash-verified

566 print()
567
568 def _prompt(self, msg):
569 try:
570 from prompt_toolkit import prompt
571
572 return prompt(msg)
573 except ImportError:
574 return input(msg)
575
576 def _prompt_hash(self, spn, etype=None, cksumtype=None, hash=None):
577 if etype:

Callers 3

_prompt_hashMethod · 0.95
_add_credMethod · 0.95
create_ticketMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected