Merge lp:~frankban/charms/precise/juju-gui/charmers-upgrade-13-08 into lp:~juju-gui/charms/precise/juju-gui/trunk

Proposed by Francesco Banconi
Status: Merged
Merged at revision: 100
Proposed branch: lp:~frankban/charms/precise/juju-gui/charmers-upgrade-13-08
Merge into: lp:~juju-gui/charms/precise/juju-gui/trunk
Diff against target: 19 lines (+2/-2)
2 files modified
hooks/backend.py (+1/-1)
revision (+1/-1)
To merge this branch: bzr merge lp:~frankban/charms/precise/juju-gui/charmers-upgrade-13-08
Reviewer Review Type Date Requested Status
charmers Pending
Review via email: mp+183165@code.launchpad.net

Description of the change

Fix for the upgrade-charm story.

The builtin-server option is not included
in the previous configuration.

https://codereview.appspot.com/13300045/

To post a comment you must log in.
Revision history for this message
Francesco Banconi (frankban) wrote :

Reviewers: mp+183165_code.launchpad.net,

Message:
Please take a look.

Description:
Fix for the upgrade-charm story.

The builtin-server option is not included
in the previous configuration.

https://code.launchpad.net/~frankban/charms/precise/juju-gui/charmers-upgrade-13-08/+merge/183165

(do not edit description out of merge proposal)

Please review this at https://codereview.appspot.com/13300045/

Affected files:
   A [revision details]
   M hooks/backend.py
   M revision

Index: [revision details]
=== added file '[revision details]'
--- [revision details] 2012-01-01 00:00:00 +0000
+++ [revision details] 2012-01-01 00:00:00 +0000
@@ -0,0 +1,2 @@
+Old revision:
<email address hidden>
+New revision:
<email address hidden>

Index: revision
=== modified file 'revision'
--- revision 2013-08-29 16:26:12 +0000
+++ revision 2013-08-30 13:21:52 +0000
@@ -1,1 +1,1 @@
-78
+79

Index: hooks/backend.py
=== modified file 'hooks/backend.py'
--- hooks/backend.py 2013-08-29 16:23:50 +0000
+++ hooks/backend.py 2013-08-30 13:20:46 +0000
@@ -270,7 +270,7 @@
          self.mixins.append(GuiMixin())
          # TODO: eventually this option will go away, as well as haproxy and
          # Apache.
- if config['builtin-server']:
+ if config.get('builtin-server', False):
              self.mixins.append(BuiltinServerMixin())
          else:
              self.mixins.append(HaproxyApacheMixin())

Revision history for this message
Francesco Banconi (frankban) wrote :

LGTM self-review: trivial.

https://codereview.appspot.com/13300045/

Revision history for this message
Francesco Banconi (frankban) wrote :

*** Submitted:

Fix for the upgrade-charm story.

The builtin-server option is not included
in the previous configuration.

R=
CC=
https://codereview.appspot.com/13300045

https://codereview.appspot.com/13300045/

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'hooks/backend.py'
2--- hooks/backend.py 2013-08-29 16:23:50 +0000
3+++ hooks/backend.py 2013-08-30 13:23:36 +0000
4@@ -270,7 +270,7 @@
5 self.mixins.append(GuiMixin())
6 # TODO: eventually this option will go away, as well as haproxy and
7 # Apache.
8- if config['builtin-server']:
9+ if config.get('builtin-server', False):
10 self.mixins.append(BuiltinServerMixin())
11 else:
12 self.mixins.append(HaproxyApacheMixin())
13
14=== modified file 'revision'
15--- revision 2013-08-29 16:26:12 +0000
16+++ revision 2013-08-30 13:23:36 +0000
17@@ -1,1 +1,1 @@
18-78
19+79

Subscribers

People subscribed via source and target branches