diff options
author | Stevan Radaković <stevan.radakovic@linaro.org> | 2013-01-28 16:13:54 +0100 |
---|---|---|
committer | Stevan Radaković <stevan.radakovic@linaro.org> | 2013-01-28 16:13:54 +0100 |
commit | 5e0dc070479053bf9e07d27f1b0db7d9ff6d936f (patch) | |
tree | ae123849354327b8a7aa5cc7e18c714368832a1f /scripts/rhodecode-setup | |
parent | 69495b132a78eb864773f2a559a9e89772daf98b (diff) |
Indent celery options correctly.
Diffstat (limited to 'scripts/rhodecode-setup')
-rwxr-xr-x | scripts/rhodecode-setup | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/scripts/rhodecode-setup b/scripts/rhodecode-setup index 6ec8c11..7769bcc 100755 --- a/scripts/rhodecode-setup +++ b/scripts/rhodecode-setup @@ -212,16 +212,16 @@ def check_cli_args(args): "password") sys.exit(1) - if not args.no_celery: - if (args.rabbitmq_usr == RABBITMQ_DEFAULT_USER or \ - args.rabbitmq_vhost == RABBITMQ_DEFAULT_VHOST): - print ("Warning: default values for --rabbitmq-user and/or " - "--rabbitmq-vhost are being used.") - - if not args.rabbitmq_pwd: - print ("To setup RhodeCode to correctly use Celery, it is " - "necessary to specify also the RabbitMQ user password.") - sys.exit(1) + if not args.no_celery: + if (args.rabbitmq_usr == RABBITMQ_DEFAULT_USER or \ + args.rabbitmq_vhost == RABBITMQ_DEFAULT_VHOST): + print ("Warning: default values for --rabbitmq-user and/or " + "--rabbitmq-vhost are being used.") + + if not args.rabbitmq_pwd: + print ("To setup RhodeCode to correctly use Celery, it is " + "necessary to specify also the RabbitMQ user password.") + sys.exit(1) def setup_user(user, home_dir, group): |