source file: p10/commands/stats.py
file stats: 9 lines, 9 executed: 100.0% covered
1. #!/usr/bin/env python 2. 3. import genericcommand 4. import p10.base64 5. 6. class stats(genericcommand.genericcommand): 7. 8. def handle(self, origin, args): 9. if len(args) > 2: 10. extra = args[2] 11. else: 12. extra = None 13. self._state.requestStats(origin, p10.base64.parseNumeric(args[1], self._state.maxClientNumerics), args[0], extra)