Tue, 10 Sep 2019 19:30:07 +0200
Removed obsolete "from __future__ import ..." statements.
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # Copyright (c) 2018 - 2019 Detlev Offenbach <detlev@die-offenbachs.de> # """ Script to determine the supported web browser variant. It looks for QtWebEngine. It reports the variant found or the string 'None' if it is absent. """ import sys variant = "None" try: from PyQt5 import QtWebEngineWidgets # __IGNORE_WARNING__ variant = "QtWebEngine" except ImportError: pass print(variant) # __IGNORE_WARNING_M801__ sys.exit(0)