from __future__ import print_function

from fabric.api import local, run, cd, env

def hello():
    print("Hello world!")

def show():
    with cd('webapps/basic/nematode'):
        run('ls')

from __future__ import print_function

from fabric.api import local, run, cd, env

env.forward_agent = 'True'

def deploy():
    local('git push')
    with cd('webapps/basic/nematode'):
        run('git pull')
        run('chmod go+rx *.js *.css *.html *.png')
        run('chmod o+r .htaccess')

Update fabfile.