Regression: log-folder parameter in serve-branches doesn't work

Bug #361238 reported by Peter Bui
4
Affects Status Importance Assigned to Milestone
loggerhead
Fix Released
Undecided
Matt Nordhoff

Bug Description

Running serve-branches --log-folder /tmp yields:

/home/pbui/src/other/loggerhead/trunk/loggerhead/search.py:20: DeprecationWarning: the sets module is deprecated
  import sets
Traceback (most recent call last):
  File "../../src/other/loggerhead/trunk/serve-branches", line 149, in <module>
    main(sys.argv)
  File "../../src/other/loggerhead/trunk/serve-branches", line 80, in main
    config.get_option['log_folder'], 'serve-branches.log')
TypeError: 'instancemethod' object is unsubscriptable

Fix is to do config.get_option('log_folder') instead of config.get_option['log_folder']

Related branches

Revision history for this message
Matt Nordhoff (mnordhoff) wrote :

Good catch. Fixed in lp:loggerhead r327. (Right?)

Changed in loggerhead:
assignee: nobody → Matt Nordhoff (mnordhoff)
status: New → Fix Committed
Martin Albisetti (beuno)
Changed in loggerhead:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.