source file: p10/commands/part.py
file stats: 6 lines, 6 executed: 100.0% covered
1. #!/usr/bin/env python
2.
3. import genericcommand
4.
5. class part(genericcommand.genericcommand):
6.
7. def handle(self, origin, args):
8. for channel in args[0].split(","):
9. self._state.partChannel(origin, channel, args[-1])