[Pkg-privacy-commits] [onionshare] 180/256: Fixed typo in signal name, error_connecting_to_tor instead of error_connection_to_tor

Ulrike Uhlig ulrike at moszumanska.debian.org
Fri May 26 12:53:35 UTC 2017


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

ulrike pushed a commit to branch master
in repository onionshare.

commit 4242097d7d7574a61b7a0fd4f2b830ee7fc3765e
Author: Micah Lee <micah at micahflee.com>
Date:   Tue May 16 11:50:13 2017 -0700

    Fixed typo in signal name, error_connecting_to_tor instead of error_connection_to_tor
---
 onionshare_gui/tor_connection_dialog.py | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/onionshare_gui/tor_connection_dialog.py b/onionshare_gui/tor_connection_dialog.py
index 2a6cfd5..5e072e8 100644
--- a/onionshare_gui/tor_connection_dialog.py
+++ b/onionshare_gui/tor_connection_dialog.py
@@ -60,7 +60,7 @@ class TorConnectionDialog(QtWidgets.QProgressDialog):
         t.tor_status_update.connect(self.tor_status_update)
         t.connected_to_tor.connect(self.connected_to_tor)
         t.canceled_connecting_to_tor.connect(self.canceled_connecting_to_tor)
-        t.error_connection_to_tor.connect(self.error_connection_to_tor)
+        t.error_connecting_to_tor.connect(self.error_connecting_to_tor)
         t.start()
 
         # Wait for the thread to start
@@ -82,8 +82,8 @@ class TorConnectionDialog(QtWidgets.QProgressDialog):
         # Cancel connecting to Tor
         self.cancel()
 
-    def error_connection_to_tor(self):
-        common.log('TorConnectionDialog', 'error_connection_to_tor')
+    def error_connecting_to_tor(self):
+        common.log('TorConnectionDialog', 'error_connecting_to_tor')
 
         # Cancel connecting to Tor
         self.cancel()
@@ -98,7 +98,7 @@ class TorConnectionThread(QtCore.QThread):
     tor_status_update = QtCore.pyqtSignal(str, str)
     connected_to_tor = QtCore.pyqtSignal()
     canceled_connecting_to_tor = QtCore.pyqtSignal()
-    error_connection_to_tor = QtCore.pyqtSignal(str)
+    error_connecting_to_tor = QtCore.pyqtSignal(str)
 
     def __init__(self, dialog, settings, onion):
         super(TorConnectionThread, self).__init__()
@@ -122,7 +122,7 @@ class TorConnectionThread(QtCore.QThread):
             self.canceled_connecting_to_tor.emit()
 
         except Exception as e:
-            self.error_connection_to_tor.emit(e.args[0])
+            self.error_connecting_to_tor.emit(e.args[0])
 
     def _tor_status_update(self, progress, summary):
         self.tor_status_update.emit(progress, summary)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/onionshare.git



More information about the Pkg-privacy-commits mailing list