Merge ~ilasc/turnip:remove-white-spaces-celery-py into turnip:master

Proposed by Ioana Lasc
Status: Merged
Approved by: Ioana Lasc
Approved revision: 686d5a298e467edc6727338753279807e65efe8c
Merge reported by: Otto Co-Pilot
Merged at revision: not available
Proposed branch: ~ilasc/turnip:remove-white-spaces-celery-py
Merge into: turnip:master
Diff against target: 16 lines (+2/-2)
1 file modified
charm/turnip-celery/lib/charms/turnip/celery.py (+2/-2)
Reviewer Review Type Date Requested Status
Cristian Gonzalez (community) Approve
Review via email: mp+402987@code.launchpad.net

Commit message

Remove trailing whitespaces

To post a comment you must log in.
Revision history for this message
Cristian Gonzalez (cristiangsp) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/charm/turnip-celery/lib/charms/turnip/celery.py b/charm/turnip-celery/lib/charms/turnip/celery.py
2index b589249..5bbfd36 100644
3--- a/charm/turnip-celery/lib/charms/turnip/celery.py
4+++ b/charm/turnip-celery/lib/charms/turnip/celery.py
5@@ -44,9 +44,9 @@ def configure_celery():
6 '/lib/systemd/system/turnip-celery-repack.service',
7 context, perms=0o644)
8 if host.service_running('turnip-celery-repack'):
9- host.service_stop('turnip-celery-repack')
10+ host.service_stop('turnip-celery-repack')
11 reload_systemd()
12 if not host.service_resume('turnip-celery'):
13 raise RuntimeError('Failed to start turnip-celery')
14 if not host.service_resume('turnip-celery-repack'):
15- raise RuntimeError('Failed to start turnip-celery-repack')
16+ raise RuntimeError('Failed to start turnip-celery-repack')

Subscribers

People subscribed via source and target branches