From c256af189febd985fcf02a7a8f3c959fc3b2913c Mon Sep 17 00:00:00 2001 From: Adar Nimrod Date: Tue, 6 Oct 2015 19:00:39 +0300 Subject: [PATCH] Correcting whitespace, now pass flake8. --- fabfile.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/fabfile.py b/fabfile.py index ba0eb6f..3dfecce 100644 --- a/fabfile.py +++ b/fabfile.py @@ -1,13 +1,15 @@ #!/usr/bin/env python from fabric.api import task, local + @task -def publish (): - local ('''rsync -az --del --exclude="conf/" --exclude="db/" \ +def publish(): + local('''rsync -az --del --exclude="conf/" --exclude="db/" \ --exclude="fabfile.*" --exclude="lists/" $REPREPRO_BASE_DIR\ www.shore.co.il:/var/www/htdocs/www.shore.co.il/repo/''') + @task -def update (): - local ('''reprepro createsymlinks''') - local ('''reprepro --delete export''') +def update(): + local('''reprepro createsymlinks''') + local('''reprepro --delete export''') -- GitLab