aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_exe.py
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2012-11-29 21:13:01 +0000
committerBryn M. Reeves <bmr@redhat.com>2012-11-29 21:13:01 +0000
commit377be073191b06c7141ec1a67bddeb0a9243c8d5 (patch)
tree4842db62945aa9ed94306e31b665f0ed95c827eb /tests/test_exe.py
parent7426d0a2bc1e3743efc72a7d102a0729d60c493a (diff)
downloadsos-377be073191b06c7141ec1a67bddeb0a9243c8d5.tar.gz
Fix addCopySpecLimit when no path matches fname glob
If addCopySpecLimit is passed a glob that matches no files it will throw an exception since it assumes that files[0] is valid. Check as soon as the file list is created and return if it is empty.
Diffstat (limited to 'tests/test_exe.py')
0 files changed, 0 insertions, 0 deletions