diff options
author | pcarrier <pcarrier@ef72aa8b-4018-0410-8976-d6e080ef94d8> | 2010-11-27 20:11:06 +0000 |
---|---|---|
committer | pcarrier <pcarrier@ef72aa8b-4018-0410-8976-d6e080ef94d8> | 2010-11-27 20:11:06 +0000 |
commit | 6180ba95ca3ee829069349c6a04e3ebf46cef880 (patch) | |
tree | 4ecd2c7c17fdcda8bfc86c82a5c342c702d7fc48 /worker/worker.py | |
parent | ca1ad543c9b92d73f486fa94e9b11d01936c150b (diff) | |
download | sos-6180ba95ca3ee829069349c6a04e3ebf46cef880.tar.gz |
[worker] fix in glob; tests ARE useful :)
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@1036 ef72aa8b-4018-0410-8976-d6e080ef94d8
Diffstat (limited to 'worker/worker.py')
-rw-r--r-- | worker/worker.py | 2 |
1 files changed, 1 insertions, 1 deletions
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") |