~twisted-dev/twisted-trac-integration/trunk

« back to all changes in this revision

Viewing changes to commit-bot/message

  • Committer: tom.prince at ualberta
  • Date: 2013-05-21 17:27:11 UTC
  • Revision ID: tom.prince@ualberta.net-20130521172711-o9vifzpokcyf2i55
Remove commit-bot and diffresource.

The code and history for them now reside in seperate repositories at
https://github.com/twisted-infra.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/usr/bin/python
2
 
 
3
 
import os, sys
4
 
 
5
 
from twisted.python.log import startLogging
6
 
 
7
 
import config, message
8
 
 
9
 
if __name__ == '__main__':
10
 
    if len(sys.argv) != 3:
11
 
        raise SystemExit("Usage: %s <channel> <message>" % (sys.argv[0],))
12
 
    startLogging(file(
13
 
        os.path.expanduser(
14
 
            os.path.join(config.LOG_ROOT, '.message.log')), 'a'))
15
 
    message.main(*sys.argv[1:])