Modify

Opened 14 years ago

Closed 14 years ago

#7425 closed defect (fixed)

TypeError: 'instancemethod' object is unsubscriptable

Reported by: jlew.blackout@… 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)

Change History (1)

comment:1 Changed 14 years ago by Christophe Drevet

Resolution: fixed
Status: newclosed

Thanks for pointing it out. Fixed in latest commit on github.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christophe Drevet.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.