Patty Cottrill wrote: > I need to make this customization to the commit_updater.py, but I don't > have access to it because its in the Trac .egg file. > The .egg file is located under /usr/local/lib/python2.6/dist-packages. > Because it's an .egg file and not a directory, I can't get to the > commit_updater.py to edit. > I ran unzip -t Trac-0.12.2-py2.6.egg and I can see the file in there. > Any advise on how to address this issue.
You can create a single-file plugin, create a component that inherits from the commit updater component, and override any methods you like. Then, place your plugin into the "plugins" folder of your Trac environment. Note that you have to keep the original commit updater disabled in this scenario, as your subclass will take its place. -- Remy
signature.asc
Description: OpenPGP digital signature
