From 73a5058f692fab395dbb8c06a56f805ccc4853d9 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Thu, 19 Aug 2004 12:26:11 +0000 Subject: [PATCH] Empty strings. Bah\! --- tools/find-strings.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/find-strings.py b/tools/find-strings.py index 5cba6fc17..bbaa36443 100755 --- a/tools/find-strings.py +++ b/tools/find-strings.py @@ -43,6 +43,8 @@ def main(): s = eval(s) s = s.replace('%s', ' ') s = s.replace('%r', ' ') + if not s: + continue if len(s.translate(string.ascii, goodChars))/len(s) < 0.2: continue if len(s) <= 3: