]> khamidou — GitHub mirrors - electron.git/commitdiff
Fix pylint warning
authorCheng Zhao <zcbenz@gmail.com>
Fri, 3 Jul 2015 07:31:55 +0000 (15:31 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Fri, 3 Jul 2015 07:31:55 +0000 (15:31 +0800)
script/upload.py

index afd186a9600177c43e219cb1c58d21b98a7737ef..3b622aa43d7d5605736440ba345fdd19342c41db 100755 (executable)
@@ -191,8 +191,8 @@ def upload_atom_shell(github, release, file_path):
           break
     except Exception:
       pass
-  return
 
+  # Upload the file.
   params = {'name': os.path.basename(file_path)}
   headers = {'Content-Type': 'application/zip'}
   with open(file_path, 'rb') as f: