[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fab-user] Error with arguments for local

From: Nicolas Steinmetz
Subject: [Fab-user] Error with arguments for local
Date: Thu, 21 May 2009 20:27:26 +0200

Jeff, as mentionned on twitter :

tetram:tutoriels nicolas$ fab -V
Fabric 0.9a2

tetram:tutoriels nicolas$ fab clean_all
Traceback (most recent call last):
  File "build/bdist.macosx-10.5-i386/egg/fabric/main.py", line 417, in main
  File "/Users/nicolas/Documents/Projets/sphinx/tutoriels/fabfile.py", line 32, in clean_all
    local('rm -rf /Users/nicolas/Documents/Projets/sphinx/tutoriels/build/*')
TypeError: local() takes no arguments (1 given)

with :

def clean_all():
    delete old html files
    local('rm -rf /Users/nicolas/Documents/Projets/sphinx/tutoriels/build/*')

I cloned the master of fab yesterday evening (France time)

Nicolas Steinmetz
http://www.steinmetz.fr - http://nicolas.steinmetz.fr/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]