Closed Bug 851831 Opened 12 years ago Closed 11 years ago

generic_app double entering configman options

Categories

(Socorro :: Backend, task)

x86
macOS
task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: lars, Assigned: lars)

Details

(Whiteboard: [qa-])

in the generic_app.py there is a section:

    definitions = (
      app_definition,
      initial_app.get_required_config(),
      logging_required_config(app_name)
    )

the `initial_app.get_required_config(),` is not necessary and, in fact, double enters the configman entries.  Remove it.
Assignee: nobody → lars
rfw: do you recall why you added this line?  If I were to remove it, do you know off hand what would break?
:lars I don't believe I added that line, git blame points to https://github.com/mozilla/socorro/commit/8052687ba0141d407863c210b8df9eab58256518
I added that because the setup_db app was broken at the time. Maybe that's fixed in configman now, but if you remove it please test that setup_db still works.
Target Milestone: --- → 41
adrian - I'm unable to reproduce the problem that originally prompted you to make this change.  As far as I can tell, this change breaks all configman apps including setupdb_app.
Commit pushed to master at https://github.com/mozilla/socorro

https://github.com/mozilla/socorro/commit/fb3866dda52ceb6ff8e83cf0a8e16dd1877ad34f
Merge pull request #1154 from twobraids/double_options

fixes Bug 851831- removes doubling of configman options
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [qa-]
You need to log in before you can comment on or make changes to this bug.