[Pkg-anonymity-tools] [onionshare] 100/140: removing unnecessary whitespace

Ulrike Uhlig u-guest at moszumanska.debian.org
Mon Sep 29 20:33:52 UTC 2014


This is an automated email from the git hooks/post-receive script.

u-guest pushed a commit to branch master
in repository onionshare.

commit 8cdecbcaf48df25253830741299077f6a8242ad9
Author: Micah Lee <micah at micahflee.com>
Date:   Tue Sep 16 00:22:14 2014 +0000

    removing unnecessary whitespace
---
 onionshare/web.py                | 4 ++--
 onionshare_gui/file_selection.py | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/onionshare/web.py b/onionshare/web.py
index 5cf8c6e..f941075 100644
--- a/onionshare/web.py
+++ b/onionshare/web.py
@@ -164,7 +164,7 @@ def download(slug_candidate):
     r = Response(generate())
     r.headers.add('Content-Length', zip_filesize)
     r.headers.add('Content-Disposition', 'attachment', filename=basename)
-    
+
     # guess content type
     (content_type, _) = mimetypes.guess_type(basename, strict=False)
     if content_type is not None:
@@ -182,7 +182,7 @@ shutdown_slug = helpers.random_string(16)
 def shutdown(shutdown_slug_candidate):
     if not helpers.constant_time_compare(shutdown_slug.encode('ascii'), shutdown_slug_candidate.encode('ascii')):
         abort(404)
-    
+
     # shutdown the flask service
     func = request.environ.get('werkzeug.server.shutdown')
     if func is None:
diff --git a/onionshare_gui/file_selection.py b/onionshare_gui/file_selection.py
index c18c196..d638a3b 100644
--- a/onionshare_gui/file_selection.py
+++ b/onionshare_gui/file_selection.py
@@ -91,7 +91,7 @@ class FileList(QtGui.QListWidget):
                 size = self.human_readable_filesize(helpers.dir_size(filename))
             item = QtGui.QListWidgetItem('{0} ({1})'.format(basename, size))
             item.setToolTip(QtCore.QString(size))
-            
+
             item.setIcon(icon)
             self.addItem(item)
 
@@ -180,7 +180,7 @@ class FileSelection(QtGui.QVBoxLayout):
         self.server_on = True
         self.file_list.setAcceptDrops(False)
         self.update()
-    
+
     def server_stopped(self):
         self.server_on = False
         self.file_list.setAcceptDrops(True)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/onionshare.git



More information about the Pkg-anonymity-tools mailing list