From c09c658110a70594b6b026fac27a7ffcd0d48382 Mon Sep 17 00:00:00 2001 From: Guo Yejun Date: Thu, 13 Feb 2014 11:59:48 +0800 Subject: [PATCH] fix typo: blobTempName is assigned but not used Signed-off-by: Guo Yejun Reviewed-by: Zhigang Gong --- backend/src/update_blob_ocl_header.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/update_blob_ocl_header.py b/backend/src/update_blob_ocl_header.py index 7d6907a..50f2501 100755 --- a/backend/src/update_blob_ocl_header.py +++ b/backend/src/update_blob_ocl_header.py @@ -36,7 +36,7 @@ blobFileName = sys.argv[2] blobTempName = sys.argv[2] + '.tmp' safeUnlink(blobFileName) tmplFile = open(sys.argv[1], 'r') -blob = open(sys.argv[2] + '.tmp', 'w') +blob = open(blobTempName, 'w') path = os.path.dirname(sys.argv[1]) if path == '': path = '.' -- 2.7.4