[Pkg-privacy-commits] [onionshare] 01/66: Remove unnecessary status_bar.showMessage

Ulrike Uhlig u-guest at moszumanska.debian.org
Wed Apr 13 22:17:45 UTC 2016


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

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

commit a54443084cb739318a6bd4d47e10660d2b9c79b5
Author: Garrett Robinson <garrett.f.robinson at gmail.com>
Date:   Tue Dec 22 21:36:26 2015 -0500

    Remove unnecessary status_bar.showMessage
    
    status_bar.showMessage is already called with the same message at the
    beginning of start_server, so there is no reason to call it again in the
    try block.
---
 onionshare_gui/onionshare_gui.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/onionshare_gui/onionshare_gui.py b/onionshare_gui/onionshare_gui.py
index 2be92ea..285dae1 100644
--- a/onionshare_gui/onionshare_gui.py
+++ b/onionshare_gui/onionshare_gui.py
@@ -147,7 +147,6 @@ class OnionShareGui(QtGui.QWidget):
         self.status_bar.showMessage(strings._('gui_starting_server1', True))
         self.app.choose_port()
         try:
-            self.status_bar.showMessage(strings._('gui_starting_server1', True))
             self.app.start_hidden_service(gui=True)
         except onionshare.hs.NoTor as e:
             alert(e.args[0], QtGui.QMessageBox.Warning)

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