[diffoscope] 01/03: comparators.utils.file: Correct reference to path_apparent_size.
Chris Lamb
chris at chris-lamb.co.uk
Fri Sep 8 23:06:59 CEST 2017
This is an automated email from the git hooks/post-receive script.
lamby pushed a commit to branch master
in repository diffoscope.
commit e50e50d83d77e2b9473b0049ba70a47ab11ad49e
Author: Chris Lamb <lamby at debian.org>
Date: Fri Sep 8 21:51:41 2017 +0100
comparators.utils.file: Correct reference to path_apparent_size.
---
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 0a8c65c..204640f 100644
--- a/diffoscope/comparators/utils/file.py
+++ b/diffoscope/comparators/utils/file.py
@@ -53,7 +53,7 @@ def path_apparent_size(path=".", visited=None):
continue
visited[inode] = entry.stat(follow_symlinks=False).st_size
if entry.is_dir(follow_symlinks=False):
- folder_size(entry.path, visited)
+ path_apparent_size(entry.path, visited)
return sum(visited.values())
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git
More information about the diffoscope
mailing list