From 230c15f7afe367b348e2708c947b09e787cc7eaa Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Mon, 30 Dec 2013 14:09:33 +0100 Subject: [PATCH 1/1] Minor fix. --- fnpdjango/deploy/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.20.1