[diffoscope] 07/12: fix pep8 E201,E202
Mattia Rizzolo
mattia at debian.org
Sat Sep 9 22:04:39 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 c7100f23045be12e34ed2f335f35c1ff9f8bc518
Author: Mattia Rizzolo <mattia at debian.org>
Date: Sat Sep 9 21:55:55 2017 +0200
fix pep8 E201,E202
Signed-off-by: Mattia Rizzolo <mattia at debian.org>
---
diffoscope/comparators/utils/file.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/diffoscope/comparators/utils/file.py b/diffoscope/comparators/utils/file.py
index 4aaad6e..e17ed38 100644
--- a/diffoscope/comparators/utils/file.py
+++ b/diffoscope/comparators/utils/file.py
@@ -45,7 +45,7 @@ def path_apparent_size(path=".", visited=None):
# should output the same as `du --apparent-size -bs "$path"`
if not visited:
stat = os.stat(path, follow_symlinks=False)
- visited = { stat.st_ino: stat.st_size }
+ visited = {stat.st_ino: stat.st_size}
if os.path.isdir(path) and not os.path.islink(path):
for entry in os.scandir(path):
inode = entry.inode()
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git
More information about the diffoscope
mailing list