[Pkg-anonymity-tools] [torbrowser-launcher] 01/11: Fix opening new tab in already runned TBB (always -allow-remote)

Ulrike Uhlig u-guest at moszumanska.debian.org
Tue Jan 20 22:46:24 UTC 2015


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

u-guest pushed a commit to branch debian
in repository torbrowser-launcher.

commit de134835a05b74e750da291e90fa86cfc43feae6
Author: Anton Nesterov <komachi at openmailbox.org>
Date:   Wed Dec 10 02:38:36 2014 +0300

    Fix opening new tab in already runned TBB (always -allow-remote)
---
 torbrowser_launcher/launcher.py | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/torbrowser_launcher/launcher.py b/torbrowser_launcher/launcher.py
index 284f224..0e570e1 100644
--- a/torbrowser_launcher/launcher.py
+++ b/torbrowser_launcher/launcher.py
@@ -634,10 +634,7 @@ class Launcher:
                 gtk.main_iteration_do(True)
 
         # run Tor Browser
-        if len(self.url_list) == 0:
-            subprocess.call([self.common.paths['tbb']['start']])
-        else:
-            subprocess.call([self.common.paths['tbb']['start'], '-allow-remote'] + self.url_list)
+        subprocess.call([self.common.paths['tbb']['start'], '-allow-remote'] + self.url_list)
 
         if run_next_task:
             self.run_task()

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



More information about the Pkg-anonymity-tools mailing list