diff --git a/avocado/core/output.py b/avocado/core/output.py index b57d381346be3a5333bb7bf6deb401f4c945ef32..0dd299f5ae7eafdbb4efc4cab7fd4b66d537c2ab 100644 --- a/avocado/core/output.py +++ b/avocado/core/output.py @@ -56,7 +56,7 @@ def get_paginator(): try: less_cmd = process.find_command('less') return os.popen('%s -FRSX' % less_cmd, 'w') - except ValueError: + except process.CmdNotFoundError: return sys.stdout