diff options
-rwxr-xr-x | src/fedpkg.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/fedpkg.py b/src/fedpkg.py index f2131cf..e80b982 100755 --- a/src/fedpkg.py +++ b/src/fedpkg.py @@ -66,7 +66,11 @@ def install(args): def lint(args): mymodule = fedpkg.PackageModule(args.path) - print(mymodule.lint()) + try: + print(mymodule.lint()) + except fedpkg.FedpkgError, e: + print('Could not run rpmlint: %s' % e) + return 1 def local(args): # not implimented |