[Pkg-anonymity-tools] [onionshare] 10/57: fix typos

Ulrike Uhlig u-guest at moszumanska.debian.org
Tue May 19 18:18:53 UTC 2015


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

u-guest pushed a commit to annotated tag 0.7
in repository onionshare.

commit 46492e0446c5b76876bfc04a68155178395a8179
Author: Thomas Waldmann <tw at waldmann-edv.de>
Date:   Sun Oct 26 14:40:41 2014 +0100

    fix typos
---
 CHANGELOG.md            | 2 +-
 check_lacked_trans.py   | 2 +-
 onionshare/socks.py     | 2 +-
 onionshare/web.py       | 4 ++--
 tails/README.md         | 2 +-
 test/onionshare_test.py | 2 +-
 6 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 196ef70..4f35f84 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -42,4 +42,4 @@
 * Shows download progress
 * Limited suite of tests
 * If a localized string doesn't exist, falls back to English
-* New translations: Dutch, Portuguese, German, Russian, and updated translations: Norweigan, Spanish, French, Italian
+* New translations: Dutch, Portuguese, German, Russian, and updated translations: Norwegian, Spanish, French, Italian
diff --git a/check_lacked_trans.py b/check_lacked_trans.py
index 50306a4..3ee90ec 100644
--- a/check_lacked_trans.py
+++ b/check_lacked_trans.py
@@ -5,7 +5,7 @@
 Check translation lacked or disused.
 
 Example:
-in OninShare directory
+in OnionShare directory
 $ check_lacked_trans.py
 de disused choose_file
 de disused gui_starting_server
diff --git a/onionshare/socks.py b/onionshare/socks.py
index 21caeea..709220d 100644
--- a/onionshare/socks.py
+++ b/onionshare/socks.py
@@ -23,7 +23,7 @@ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA
 OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
-OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMANGE.
+OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 
 This module provides a standard socket-like interface for Python
diff --git a/onionshare/web.py b/onionshare/web.py
index 9a8b28b..d9e6b86 100644
--- a/onionshare/web.py
+++ b/onionshare/web.py
@@ -123,7 +123,7 @@ def download(slug_candidate):
     download_count += 1
 
     # prepare some variables to use inside generate() function below
-    # which is outsie of the request context
+    # which is outside of the request context
     shutdown_func = request.environ.get('werkzeug.server.shutdown')
     path = request.path
 
@@ -149,7 +149,7 @@ def download(slug_candidate):
 
                     # tell GUI the progress
                     downloaded_bytes = fp.tell()
-                    percent = round((1.0 * downloaded_bytes / zip_filesize) * 100, 2);
+                    percent = round((1.0 * downloaded_bytes / zip_filesize) * 100, 2)
                     sys.stdout.write("\r{0}, {1}%          ".format(helpers.human_readable_filesize(downloaded_bytes), percent))
                     sys.stdout.flush()
                     add_request(REQUEST_PROGRESS, path, { 'id':download_id, 'bytes':downloaded_bytes })
diff --git a/tails/README.md b/tails/README.md
index a4a0a71..8adde45 100644
--- a/tails/README.md
+++ b/tails/README.md
@@ -10,7 +10,7 @@ Start by booting to Tails. Mount your persistent volume and set an administrator
     git clone https://github.com/micahflee/onionshare.git
     sudo onionshare/tails/install_in_persistent_volume.sh
 
-You only need to do that once each time you want to build a new verison of OnionShare.
+You only need to do that once each time you want to build a new version of OnionShare.
 
 ### Installing in Tails
 
diff --git a/test/onionshare_test.py b/test/onionshare_test.py
index 7896d4c..5246d4a 100644
--- a/test/onionshare_test.py
+++ b/test/onionshare_test.py
@@ -24,7 +24,7 @@ def test_choose_port_returns_a_port_number():
     "choose_port() returns a port number"
     app = OnionShare()
     app.choose_port()
-    assert  1024 <= app.port <= 65535
+    assert 1024 <= app.port <= 65535
 
 def test_choose_port_returns_an_open_port():
     "choose_port() returns an open port"

-- 
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