aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2016-12-04 16:49:13 +0100
committerBryn M. Reeves <bmr@redhat.com>2017-03-28 14:12:07 +0100
commit0e61e0ce35dede5c92ef3d4de15f4bab2a3382d9 (patch)
treec118ac877cc2419eadc9f497c70a385036281571
parent5d4bb88e5ba08043020480157fb310cfd4ea2061 (diff)
downloadsos-0e61e0ce35dede5c92ef3d4de15f4bab2a3382d9.tar.gz
[plugins] use _expand_copy_spec in add_copy_spec_limit
Signed-off-by: Michael Adam <obnox@samba.org>
-rw-r--r--sos/plugins/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/plugins/__init__.py b/sos/plugins/__init__.py
index 92181055..8f1bb74e 100644
--- a/sos/plugins/__init__.py
+++ b/sos/plugins/__init__.py
@@ -527,7 +527,7 @@ class Plugin(object):
if self.use_sysroot():
copyspec = self.join_sysroot(copyspec)
- files = glob.glob(copyspec)
+ files = self._expand_copy_spec(copyspec)
files.sort()
if len(files) == 0:
continue