diff options
author | Shaun McCance <shaunm@redhat.com> | 2020-12-18 20:33:56 -0500 |
---|---|---|
committer | Shaun McCance <shaunm@redhat.com> | 2020-12-18 20:33:56 -0500 |
commit | 432ea82e071419f7f533853e97e268d43f8fc1a4 (patch) | |
tree | 12ca0500dc50e3538ff659f6f62eda7b758f7e9f /tools/yelp-check.py | |
parent | 51c28cdd0853aa2eda2de6454227450bdfd5634b (diff) | |
download | yelp-tools-432ea82e071419f7f533853e97e268d43f8fc1a4.tar.gz |
yelp-check.py: Default to cwd if no file args are passed
Diffstat (limited to 'tools/yelp-check.py')
-rw-r--r-- | tools/yelp-check.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/yelp-check.py b/tools/yelp-check.py index 5a5afdf..46322e1 100644 --- a/tools/yelp-check.py +++ b/tools/yelp-check.py @@ -118,6 +118,8 @@ class Checker: def iter_files(self, sitedir=None): issite = self.options.get('-s', False) + if len(self.fileargs) == 0: + self.fileargs.append('.') for filearg in self.fileargs: if os.path.isdir(filearg): if issite: |