Gentoo Archives: gentoo-catalyst

From: Mike Frysinger <vapier@g.o>
To: gentoo-catalyst@l.g.o
Subject: [gentoo-catalyst] [PATCH 06/13] lint: avoid relative imports
Date: Tue, 06 Oct 2015 15:05:50
Message-Id: 1444143929-26705-6-git-send-email-vapier@gentoo.org
In Reply to: [gentoo-catalyst] [PATCH 01/13] lint: fix duplicate fcntl import by Mike Frysinger
1 We import from catalyst.xxx elsewhere, so be consistent.
2 ---
3 catalyst/contents.py | 2 +-
4 catalyst/hash_utils.py | 2 +-
5 2 files changed, 2 insertions(+), 2 deletions(-)
6
7 diff --git a/catalyst/contents.py b/catalyst/contents.py
8 index a06b2db..73eda61 100644
9 --- a/catalyst/contents.py
10 +++ b/catalyst/contents.py
11 @@ -2,7 +2,7 @@
12 from collections import namedtuple
13 from subprocess import Popen, PIPE
14
15 -from support import CatalystError, warn
16 +from catalyst.support import CatalystError, warn
17
18
19 # use ContentsMap.fields for the value legend
20 diff --git a/catalyst/hash_utils.py b/catalyst/hash_utils.py
21 index 39f489b..0262422 100644
22 --- a/catalyst/hash_utils.py
23 +++ b/catalyst/hash_utils.py
24 @@ -3,7 +3,7 @@ import os
25 from collections import namedtuple
26 from subprocess import Popen, PIPE
27
28 -from support import CatalystError
29 +from catalyst.support import CatalystError
30
31
32 # Use HashMap.fields for the value legend
33 --
34 2.5.2