summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2010-11-27 03:04:14 -0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2010-11-27 03:04:14 -0200
commit71e02e52a59e917789bb85647638d211ad04a2dd (patch)
treee7942270af921153cfe9870d3fbbf7f80a647d03
parentremoved unused import (diff)
downloadcheckbump-71e02e52a59e917789bb85647638d211ad04a2dd.tar.gz
checkbump-71e02e52a59e917789bb85647638d211ad04a2dd.tar.bz2
checkbump-71e02e52a59e917789bb85647638d211ad04a2dd.zip
changed glob import to remove glob from the commands list
-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')