]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
parsearchive: Fix import bug
authorStephen Finucane <stephen.finucane@intel.com>
Thu, 17 Dec 2015 17:11:24 +0000 (17:11 +0000)
committerStephen Finucane <stephen.finucane@intel.com>
Thu, 17 Dec 2015 17:11:24 +0000 (17:11 +0000)
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 <stephen.finucane@intel.com>
patchwork/bin/parsearchive.py

index 5ded8ef8500d9d59e37c4a6f2cd07548c5b2ee9f..f8792155cfe07479cebbaf7fd326737876d593cc 100755 (executable)
@@ -29,7 +29,7 @@ import mailbox
 
 import django
 
-from . import parsemail
+from patchwork.bin import parsemail
 
 VERBOSITY_LEVELS = {
     'debug': logging.DEBUG,