[diffoscope] 01/01: Tidy imports in Debian comparator and tests.
Chris Lamb
chris at chris-lamb.co.uk
Wed Aug 24 09:57:59 CEST 2016
This is an automated email from the git hooks/post-receive script.
lamby pushed a commit to branch master
in repository diffoscope.
commit f19a9d50e1e3d34e18e17360e4d1dd397ae20bcc
Author: Chris Lamb <lamby at debian.org>
Date: Wed Aug 24 08:57:56 2016 +0100
Tidy imports in Debian comparator and tests.
Gbp-Dch: Ignore
Signed-off-by: Chris Lamb <lamby at debian.org>
---
diffoscope/comparators/debian.py | 2 +-
tests/comparators/test_debian.py | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/diffoscope/comparators/debian.py b/diffoscope/comparators/debian.py
index 66488ae..41dad4f 100644
--- a/diffoscope/comparators/debian.py
+++ b/diffoscope/comparators/debian.py
@@ -25,11 +25,11 @@ import collections
from debian.deb822 import Dsc
+from diffoscope import logger
from diffoscope.changes import Changes
from diffoscope.difference import Difference
from diffoscope.comparators.utils import Container
from diffoscope.comparators.binary import File
-from diffoscope import logger
DOT_CHANGES_FIELDS = [
diff --git a/tests/comparators/test_debian.py b/tests/comparators/test_debian.py
index b25e56f..baa351c 100644
--- a/tests/comparators/test_debian.py
+++ b/tests/comparators/test_debian.py
@@ -32,7 +32,8 @@ try:
DotBuildinfoFile
miss_debian_module = False
except ImportError:
- from diffoscope.comparators.debian_fallback import DotChangesFile, DotDscFile, DotBuildinfoFile
+ from diffoscope.comparators.debian_fallback import DotChangesFile, DotDscFile, \
+ DotBuildinfoFile
miss_debian_module = True
TEST_DOT_CHANGES_FILE1_PATH = data('test1.changes')
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git
More information about the diffoscope
mailing list