Merge lp:~chmouel/burrow/lp771506 into lp:burrow
Proposed by
Chmouel Boudjnah
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Eric Day | ||||
Approved revision: | 14 | ||||
Merged at revision: | 15 | ||||
Proposed branch: | lp:~chmouel/burrow/lp771506 | ||||
Merge into: | lp:burrow | ||||
Diff against target: |
14 lines (+2/-2) 1 file modified
burrow/frontend/wsgi.py (+2/-2) |
||||
To merge this branch: | bzr merge lp:~chmouel/burrow/lp771506 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Eric Day (community) | Approve | ||
Review via email: mp+59138@code.launchpad.net |
Commit message
Cast to integer the default_ttl and the hide values.
To post a comment you must log in.
Good catch! The issue is actually only in the WSGI frontend module, as the API into the backend modules should be passing ints already. The default_ttl in the WSGI module is the root of the issue, as that is what is causing the str value. Instead of putting int()s around all those places in the backend modules, we can instead put just two around the initial default_ttl values being set in the wsgi module.