mirror of
https://github.com/fcwu/docker-ubuntu-vnc-desktop
synced 2025-12-06 08:22:31 +01:00
15 lines
308 B
Python
15 lines
308 B
Python
from __future__ import (
|
|
absolute_import, division, print_function, with_statement
|
|
)
|
|
from contextlib import contextmanager
|
|
from gevent import GreenletExit
|
|
|
|
|
|
@contextmanager
|
|
def ignored(*exceptions):
|
|
try:
|
|
yield
|
|
except GreenletExit as e:
|
|
raise e
|
|
except exceptions:
|
|
pass
|