[Pkg-privacy-commits] [torbrowser-launcher] 04/59: Use relative import

Roger Shimizu rogershimizu at gmail.com
Mon Jan 29 13:43:56 UTC 2018


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

rosh pushed a commit to branch debian/sid
in repository torbrowser-launcher.

commit 6951561126a83593cf7a683d2e888486177e086b
Author: sedrubal <dev at sedrubal.de>
Date:   Wed Nov 9 03:08:34 2016 +0100

    Use relative import
    
    I'm not really sure with these imports but it worked for me with python2
    and 3 :wink:
---
 torbrowser_launcher/__init__.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/torbrowser_launcher/__init__.py b/torbrowser_launcher/__init__.py
index a03d639..9998d87 100644
--- a/torbrowser_launcher/__init__.py
+++ b/torbrowser_launcher/__init__.py
@@ -28,9 +28,9 @@ OTHER DEALINGS IN THE SOFTWARE.
 
 import os, sys, argparse
 
-from common import Common, SHARE
-from settings import Settings
-from launcher import Launcher
+from .common import Common, SHARE
+from .settings import Settings
+from .launcher import Launcher
 
 def main():
     # parse arguments

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



More information about the Pkg-privacy-commits mailing list