Fix bug #987568: Added a generic except to catch other UNO problems.

bzr-revno: 1952
Fixes: https://launchpad.net/bugs/987568
This commit is contained in:
Raoul Snyman 2012-04-24 21:31:12 +02:00
commit 8e12cbabb4

View File

@ -77,6 +77,8 @@ try:
UNO_VERSION = node.getByName(u'ooSetupVersion') UNO_VERSION = node.getByName(u'ooSetupVersion')
except ImportError: except ImportError:
UNO_VERSION = u'-' UNO_VERSION = u'-'
except:
UNO_VERSION = u'- (Possible non-standard UNO installation)'
try: try:
WEBKIT_VERSION = QtWebKit.qWebKitVersion() WEBKIT_VERSION = QtWebKit.qWebKitVersion()
except AttributeError: except AttributeError: