summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'fabfile.py')
-rw-r--r--fabfile.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/fabfile.py b/fabfile.py
index 26aee1b..f2fc72f 100644
--- a/fabfile.py
+++ b/fabfile.py
@@ -10,7 +10,7 @@
"""
from fabric.api import env, local, put, run
-from glob import glob
+import glob
env.user = 'rafaelmartins'
env.hosts = ['dev.gentoo.org']
@@ -21,10 +21,10 @@ def clean():
def build():
clean()
local('mkdir -p _build', capture=False)
- for f in [i[len('config/'):-len('.ini')] for i in glob('config/*.ini')]:
+ for f in [i[len('config/'):-len('.ini')] for i in glob.glob('config/*.ini')]:
local('python checkbump.py config/%s.ini > _build/%s.html' % (f, f), capture=False)
def upload():
run('mkdir -p public_html/checkbump')
- for html_file in glob('_build/*.html'):
+ for html_file in glob.glob('_build/*.html'):
put(html_file, 'public_html/checkbump')