Merge lp:~brad-marshall/charms/precise/bip/fix-backlog-template into lp:charms/bip

Proposed by Brad Marshall
Status: Merged
Merged at revision: 20
Proposed branch: lp:~brad-marshall/charms/precise/bip/fix-backlog-template
Merge into: lp:charms/bip
Diff against target: 21 lines (+4/-0)
1 file modified
hooks/hooks.py (+4/-0)
To merge this branch: bzr merge lp:~brad-marshall/charms/precise/bip/fix-backlog-template
Reviewer Review Type Date Requested Status
José Antonio Rey (community) Approve
Barry Price Approve
Review via email: mp+244534@code.launchpad.net

Description of the change

Adds in the missing variables for the bip config file for the backlog settings.

To post a comment you must log in.
Revision history for this message
Barry Price (barryprice) :
review: Approve
Revision history for this message
José Antonio Rey (jose) wrote :

+1 LGTM!

Thanks, Brad!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'hooks/hooks.py'
2--- hooks/hooks.py 2014-03-25 23:23:37 +0000
3+++ hooks/hooks.py 2014-12-12 05:12:13 +0000
4@@ -44,6 +44,8 @@
5 log_format = config().get('log_format')
6 network_config = config().get('network')
7 user_config = config().get('user')
8+backlog_lines = config().get('backlog_lines')
9+backlog_msg_only = config().get('backlog_msg_only')
10 bip_conf = '/etc/bip.conf'
11 bip_defaults = '/etc/default/bip'
12
13@@ -87,6 +89,8 @@
14 'log_format': log_format,
15 'network': network,
16 'user': user,
17+ 'backlog_lines': backlog_lines,
18+ 'backlog_msg_only': backlog_msg_only,
19 }
20 template = template_env.get_template('bip_conf.template').render(templ_vars)
21 with open(bip_conf, 'w') as bip_conf_config:

Subscribers

People subscribed via source and target branches

to all changes: