Modify ↓
Opened 14 years ago
Closed 14 years ago
#7425 closed defect (fixed)
TypeError: 'instancemethod' object is unsubscriptable
Reported by: | Owned by: | Christophe Drevet | |
---|---|---|---|
Priority: | normal | Component: | TracGitosisPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
Python Traceback
Most recent call last: File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 423, in _dispatch_request File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 197, in dispatch File "/usr/lib/python2.5/site-packages/trac/admin/web_ui.py", line 113, in process_request File "/usr/lib/python2.5/site-packages/TracGitosis-1.0.1-py2.5.egg/tracgitosis/tracgitosis.py", line 192, in render_admin_panel File "/usr/lib/python2.5/site-packages/TracGitosis-1.0.1-py2.5.egg/tracgitosis/tracgitosis.py", line 239, in set_config File "/usr/lib/python2.5/site-packages/TracGitosis-1.0.1-py2.5.egg/tracgitosis/tracgitosis.py", line 267, in _write_config File "/usr/lib/python2.5/site-packages/TracGitosis-1.0.1-py2.5.egg/tracgitosis/tracgitosis.py", line 281, in write
Line 281:
fp.write("%s = %s\n" % (item, str(self.sections['gitosis'][item]).replace('\n', '\n\t')))
Should be Line 281:
fp.write("%s = %s\n" % (item, str(self._sections['gitosis'][item]).replace('\n', '\n\t')))
Attachments (0)
Note: See
TracTickets for help on using
tickets.
Thanks for pointing it out. Fixed in latest commit on github.