Modify

Opened 4 years ago

Closed 4 years ago

#7425 closed defect (fixed)

TypeError: 'instancemethod' object is unsubscriptable

Reported by: jlew.blackout@… Owned by: dr4Ke
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 4 years ago by dr4Ke

  • Resolution set to fixed
  • Status changed from new to closed

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

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.