source file: p10/commands/kill.py
file stats: 10 lines, 10 executed: 100.0% covered
   1. #!/usr/bin/env python
   2. 
   3. import genericcommand
   4. import p10.base64
   5. 
   6. class kill(genericcommand.genericcommand):
   7. 
   8.     def handle(self, origin, args):
   9.         target = args[0]
  10.         info = args[1].split(None, 1)
  11.         path = info[0].split("!")
  12.         reason = info[1].strip("()")
  13.         self._state.kill(origin, p10.base64.parseNumeric(target, self._state.maxClientNumerics), path, reason)