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 <[email protected]>
---
 patchwork/bin/parsearchive.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/patchwork/bin/parsearchive.py b/patchwork/bin/parsearchive.py
index 5ded8ef..f879215 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,
-- 
2.0.0

_______________________________________________
Patchwork mailing list
[email protected]
https://lists.ozlabs.org/listinfo/patchwork

Reply via email to