summaryrefslogtreecommitdiffstats
path: root/func
diff options
context:
space:
mode:
authorzhifeng.jiang <jiang.zhifeng@zte.com.cn>2016-07-16 21:15:11 +0800
committerzhifeng.jiang <jiang.zhifeng@zte.com.cn>2016-07-16 21:15:11 +0800
commit481f78bf7a08e31ee53270028fa70b9eb60ff0a3 (patch)
tree629ac721a5fa3b18180e3fd7152acfa8795b50d4 /func
parentacd405c3199a03ae58844a6c6f0e5595fb877da3 (diff)
Fix pep8 errors for all the others python files.
JIRA:QTIP-89 Change-Id: Ida1936dea3bcab6137d039fc2d21dc4df60d9f77 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
Diffstat (limited to 'func')
-rw-r--r--func/fetchimg.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/func/fetchimg.py b/func/fetchimg.py
index 88178bed..1ed3def6 100644
--- a/func/fetchimg.py
+++ b/func/fetchimg.py
@@ -9,7 +9,8 @@
import os
import time
-IMGSTORE="/home/opnfv/imgstore"
+IMGSTORE = "/home/opnfv/imgstore"
+
class FetchImg:
@@ -21,14 +22,13 @@ class FetchImg:
time.sleep(2)
os.system('mkdir -p Temp_Img')
filepath = './Temp_Img/QTIP_CentOS.qcow2'
- imgstorepath = IMGSTORE+"/QTIP_CentOS.qcow2"
+ imgstorepath = IMGSTORE + "/QTIP_CentOS.qcow2"
if os.path.isfile(imgstorepath):
os.system("ln -s %s %s" % (imgstorepath, filepath))
print "QTIP_CentOS.qcow2 exists locally. Skipping the download and using the file from IMG store"
else:
print 'Fetching QTIP_CentOS.qcow2'
- os.system(
- 'wget http://artifacts.opnfv.org/qtip/QTIP_CentOS.qcow2 -P Temp_Img')
+ os.system('wget http://artifacts.opnfv.org/qtip/QTIP_CentOS.qcow2 -P Temp_Img')
while not os.path.isfile(filepath):
time.sleep(10)