Parent: [95e11b] (diff)

Download this file

reactors.py    18 lines (12 with data), 373 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
import errno, logging, os, stat, subprocess
from pylons import c
from allura.lib.decorators import audit, react
from allura import model as M
log = logging.getLogger(__name__)
@audit('scm.svn.init')
def init(routing_key, data):
repo = c.app.repo
repo.init()
M.Notification.post_user(
c.user, repo, 'created',
text='SVN repository created')