From: Radek Czajka Date: Mon, 30 Dec 2013 13:09:33 +0000 (+0100) Subject: Minor fix. X-Git-Tag: 0.1.11 X-Git-Url: https://git.mdrn.pl/fnpdjango.git/commitdiff_plain/230c15f7afe367b348e2708c947b09e787cc7eaa?ds=inline;hp=3d8f2a5f394afdc55333e6c2ce98dd391bf478d2 Minor fix. --- diff --git a/fnpdjango/deploy/__init__.py b/fnpdjango/deploy/__init__.py index 0ba4477..5b61df1 100644 --- a/fnpdjango/deploy/__init__.py +++ b/fnpdjango/deploy/__init__.py @@ -114,7 +114,7 @@ def deploy_version(version): @task def restart(): require('services') - for service in env.services: + for service in env.services or (): execute(service)