notify: catch RuntimeError when importing pynotify
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Thu, 12 Jun 2014 09:04:09 +0000 (12:04 +0300)
committerJun Wang <junbill.wang@samsung.com>
Tue, 26 Jan 2016 18:35:13 +0000 (02:35 +0800)
Work around a problem in some distros (e.g. Fedora) where "import
pynotify" crashes in RuntimeError in some cases, e.g. when DISPLAY env
variable is not set.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>

No differences found