At least do except Exception:
except Exception:
BTW, once uno is imported (so you can just after the above local import), it's as simple as:
from com.sun.star.connection import NoConnectException
Thanks. I will fix.
mentioned in merge request !19
mentioned in merge request !21 (merged)
mentioned in commit f5639901