diff --git a/share/tools/create_manpage_completions.py b/share/tools/create_manpage_completions.py index b5ff43d23..e1b7ccaa4 100755 --- a/share/tools/create_manpage_completions.py +++ b/share/tools/create_manpage_completions.py @@ -22,7 +22,7 @@ from deroff import Deroffer try: import backports.lzma as lzma -except: +except ImportError: import lzma # Whether we're Python 3