3
from grackle import client
5
class UserError(Exception):
6
"""An error caused by a user mistake."""
10
raise UserError("Wrong number of arguments supplied.")
11
client.put_message(args[0], sys.stdin)
14
if __name__ == '__main__':
19
sys.stderr.write(str(e) + '\n')