[diffoscope] 09/10: fix pep8 E122
Mattia Rizzolo
mattia at debian.org
Sat Sep 9 22:39:52 CEST 2017
This is an automated email from the git hooks/post-receive script.
mattia pushed a commit to branch master
in repository diffoscope.
commit 9ea6a951aa198068926a8f19c2d58c68b76aa64a
Author: Mattia Rizzolo <mattia at debian.org>
Date: Sat Sep 9 22:32:57 2017 +0200
fix pep8 E122
Signed-off-by: Mattia Rizzolo <mattia at debian.org>
---
diffoscope/comparators/docx.py | 2 +-
diffoscope/comparators/elf.py | 2 +-
diffoscope/comparators/git.py | 20 ++++++++++----------
diffoscope/comparators/odt.py | 2 +-
diffoscope/comparators/ogg.py | 2 +-
diffoscope/comparators/pcap.py | 2 +-
diffoscope/comparators/pgp.py | 2 +-
7 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/diffoscope/comparators/docx.py b/diffoscope/comparators/docx.py
index e0a2a9e..7574210 100644
--- a/diffoscope/comparators/docx.py
+++ b/diffoscope/comparators/docx.py
@@ -45,4 +45,4 @@ class DocxFile(File):
self.path,
other.path,
source='docx2txt',
- )]
+ )]
diff --git a/diffoscope/comparators/elf.py b/diffoscope/comparators/elf.py
index ee461b0..4f80ae0 100644
--- a/diffoscope/comparators/elf.py
+++ b/diffoscope/comparators/elf.py
@@ -498,7 +498,7 @@ class ElfContainer(Container):
(get_tool_name('objcopy'),) + args,
shell=False,
stderr=subprocess.DEVNULL,
- )
+ )
# If #812089 was fixed, we would just do os.link(debug_file.path,
# dest_path) but for now, we need to do more complicated thingsā¦
diff --git a/diffoscope/comparators/git.py b/diffoscope/comparators/git.py
index abce662..1410d2b 100644
--- a/diffoscope/comparators/git.py
+++ b/diffoscope/comparators/git.py
@@ -57,8 +57,8 @@ def parse_entries(f):
pos = f.tell()
x['ctime'], x['ctime_nano'], x['mtime'], x['mtime_nano'], \
- x['dev'], x['inode'], x['mode'], x['uid'], x['gid'], \
- x['size'], x['sha'], x['flags'] = \
+ x['dev'], x['inode'], x['mode'], x['uid'], x['gid'], \
+ x['size'], x['sha'], x['flags'] = \
struct.unpack('>LLLLLLLLLL20sH', f.read((4 * 10) + 20 + 2))
x['path'] = f.read(x['flags'] & 0x0fff)
@@ -78,9 +78,9 @@ Version: {version}
Entries:
{entries_fmt}
""".format(
- entries_fmt=''.join(describe_entry(x) for x in index['entries']),
- **index
-)
+ entries_fmt=''.join(describe_entry(x) for x in index['entries']),
+ **index
+ )
def describe_entry(x):
@@ -96,8 +96,8 @@ Modified: {x[mtime]}.{x[mtime_nano]}
Inode: {x[inode]}
Device ID: ({major}, {minor})
""".format(
- x=x,
- major=os.major(x['dev']),
- minor=os.minor(x['dev']),
- hexsha=binascii.b2a_hex(x['sha']).decode('utf-8'),
-)
+ x=x,
+ major=os.major(x['dev']),
+ minor=os.minor(x['dev']),
+ hexsha=binascii.b2a_hex(x['sha']).decode('utf-8'),
+ )
diff --git a/diffoscope/comparators/odt.py b/diffoscope/comparators/odt.py
index 69d919d..26d36c4 100644
--- a/diffoscope/comparators/odt.py
+++ b/diffoscope/comparators/odt.py
@@ -45,4 +45,4 @@ class OdtFile(File):
self.path,
other.path,
source='odt2txt',
- )]
+ )]
diff --git a/diffoscope/comparators/ogg.py b/diffoscope/comparators/ogg.py
index dfa4b37..4f04baf 100644
--- a/diffoscope/comparators/ogg.py
+++ b/diffoscope/comparators/ogg.py
@@ -41,4 +41,4 @@ class OggFile(File):
self.path,
other.path,
source='oggDump',
- )]
+ )]
diff --git a/diffoscope/comparators/pcap.py b/diffoscope/comparators/pcap.py
index cf0361d..c01d7c4 100644
--- a/diffoscope/comparators/pcap.py
+++ b/diffoscope/comparators/pcap.py
@@ -47,4 +47,4 @@ class PcapFile(File):
self.path,
other.path,
source='tcpdump',
- )]
+ )]
diff --git a/diffoscope/comparators/pgp.py b/diffoscope/comparators/pgp.py
index 3a15d6c..3ff6be8 100644
--- a/diffoscope/comparators/pgp.py
+++ b/diffoscope/comparators/pgp.py
@@ -49,4 +49,4 @@ class PgpFile(File):
self.path,
other.path,
source='pgpdump',
- )]
+ )]
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git
More information about the diffoscope
mailing list