Skip to content

Commit

Permalink
#3690 uinput packages can be broken in new ways
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Nov 21, 2022
1 parent 2bebf01 commit be1baec
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions xpra/server/server_util.py
Expand Up @@ -404,16 +404,16 @@ def has_uinput():
try:
import uinput
assert uinput
except NameError as e:
except ImportError as e:
log = get_util_logger()
log("has_uinput()", exc_info=True)
log.warn("Warning: the system python uinput module looks broken:")
log.warn(" %s", e)
log.info("no uinput module (not usually needed)")
return False
except ImportError as e:
except Exception as e:
log = get_util_logger()
log("has_uinput()", exc_info=True)
log.info("no uinput module (not usually needed)")
log.warn("Warning: the system python uinput module looks broken:")
log.warn(" %s", e)
return False
try:
uinput.fdopen() #@UndefinedVariable
Expand Down

0 comments on commit be1baec

Please sign in to comment.