From: Stephen Finucane Date: Thu, 17 Dec 2015 17:11:24 +0000 (+0000) Subject: parsearchive: Fix import bug X-Git-Tag: v1.1.0~83 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98616d10bbd869b5025dc8de077661e7d5eaa873;p=thirdparty%2Fpatchwork.git parsearchive: Fix import bug A bug was introduced in the Python 3 port - the 'bin' folder is not a module and therefore relative imports should not be used. Resolve this. Signed-off-by: Stephen Finucane --- diff --git a/patchwork/bin/parsearchive.py b/patchwork/bin/parsearchive.py index 5ded8ef8..f8792155 100755 --- a/patchwork/bin/parsearchive.py +++ b/patchwork/bin/parsearchive.py @@ -29,7 +29,7 @@ import mailbox import django -from . import parsemail +from patchwork.bin import parsemail VERBOSITY_LEVELS = { 'debug': logging.DEBUG,