From b20320301a654d4876fc37310e9d78c26b472712 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sat, 30 Aug 2003 06:50:24 +0000 Subject: [PATCH] Test whitespace removal. --- shredtree.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shredtree.py b/shredtree.py index 5a95675..fe87f7c 100755 --- a/shredtree.py +++ b/shredtree.py @@ -5,7 +5,7 @@ import sys, os, os.path, re, md5, getopt import shred -ws = re.compile(r"[ \t\n]+") +whitespace = re.compile(r"[ \t\n]+") def eligible(file): "Is a file eligible for comparison?" @@ -20,7 +20,7 @@ def eligible(file): def normalize(line): if ws: - return ws.sub('', line) + return whitespace.sub('', line) else: return line -- 2.43.0