Finished tac example and added ignores.
This commit is contained in:
parent
8db2d69000
commit
e28cc06917
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
*.tac
|
||||
*.pyc
|
@ -1,3 +1,17 @@
|
||||
# -*- mode: python -*-
|
||||
|
||||
from twisted.application import service
|
||||
from twisted.words.protocols.jabber import jid
|
||||
from wokkel.client import XMPPClient
|
||||
|
||||
from commitbot import CommitBot
|
||||
|
||||
application = service.Application('commitbot')
|
||||
|
||||
client = XMPPClient(jid.internJID('user@host'), 'password')
|
||||
client.logTraffic = False
|
||||
|
||||
bot = CommitBot('room@chat.example.com', 'commits')
|
||||
bot.setHandlerParent(client)
|
||||
|
||||
client.setServiceParent(application)
|
||||
|
Loading…
x
Reference in New Issue
Block a user