[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [gettor/master] Fixed to PEP8



commit 266c339f844a5eb302836a213bc3e18d04493e49
Author: ilv <ilv@xxxxxxxxxxxxxxxxxxxxxxxx>
Date:   Thu Feb 5 17:20:17 2015 -0300

    Fixed to PEP8
---
 upload/fetch_latest_torbrowser.py |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/upload/fetch_latest_torbrowser.py b/upload/fetch_latest_torbrowser.py
index db6ddd9..b9b74bc 100644
--- a/upload/fetch_latest_torbrowser.py
+++ b/upload/fetch_latest_torbrowser.py
@@ -42,8 +42,8 @@ config.read('latest_torbrowser.cfg')
 current_version = config.get('version', 'current')
 
 if current_version != latest_version:
-    
-    # in wget we trust    
+
+    # in wget we trust
     mirror = '%s%s' % (dist_tpo, latest_version)
     # download files for windows, osx, linux, signatures and checksums
     params = '-nH --cut-dirs=1 -L 1 --accept exe,dmg,tar.xz,asc,txt'
@@ -55,12 +55,12 @@ if current_version != latest_version:
     shutil.move('latest', 'latest_backup')
     shutil.move(latest_version, 'latest')
     shutil.rmtree('latest_backup')
-    
+
     # latest version of Tor Browser has been syncronized
     # let's upload it
     for provider in UPLOAD_SCRIPTS:
         os.sytem('python2.7 %s' % UPLOAD_SCRIPTS[provider])
-    
+
     # if everything is OK, update the current version delivered by GetTor
     config.set('version', 'current', latest_version)
     with open(r'latest_torbrowser.cfg', 'wb') as config_file:



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits