1. Olemis Lang
  2. trac-repositoryhooksystem

Commits

k0s  committed 53a2c4d

[svn r5077] fulfill the contract in source:repositoryhooksystemplugin/0.11/repository_hook_system/interface.py

  • Participants
  • Parent commits ac54e07
  • Branches repositoryhooksystemplugin

Comments (0)

Files changed (1)

File 0.11/repository_hook_system/listener.py

View file
  • Ignore whitespace
         # find the listener for the given repository type and invoke the hook
         for listener in listeners:
             if env.config.get('trac', 'repository_type') in listener.type():
-                changeset = listener.changeset(repo, *args)
+                changeset = listener.changeset(repo, hook, *args)
                 subscribers = listener.subscribers(hook)
                 for subscriber in subscribers:
                     subscriber.invoke(changeset)