From 6180ba95ca3ee829069349c6a04e3ebf46cef880 Mon Sep 17 00:00:00 2001 From: pcarrier Date: Sat, 27 Nov 2010 20:11:06 +0000 Subject: [worker] fix in glob; tests ARE useful :) git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@1036 ef72aa8b-4018-0410-8976-d6e080ef94d8 --- worker/worker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worker/worker.py b/worker/worker.py index 812eb4cb..8fecfdce 100644 --- a/worker/worker.py +++ b/worker/worker.py @@ -55,7 +55,7 @@ class GlobRequest(Request): def execute(self): from glob import glob results = glob(self.pattern) - self.shell.write(len(results)+"\n") + self.shell.write("%i\n" % len(results)) for result in results: self.shell.write(result+"\n") -- cgit