selectel / pyxs

Pure Python bindings to XenStore
http://pyxs.readthedocs.org/
GNU Lesser General Public License v3.0
15 stars 15 forks source link

fix error handling in _XenBusTransport() #7

Closed Jajcus closed 8 years ago

Jajcus commented 8 years ago

Fixes: {noformat} AttributeError: '_XenBusTransport' object has no attribute 'path' {noformat}

on systems not running under Xen.

The error handling is still far from being perfect, though, as this still ends in an exception raised in a thread, which cannot be easily handled by the application.

superbobry commented 8 years ago

Hi, thank you for the PR. Could you please attach the stacktrace you're seeing after this patch?

Jajcus commented 8 years ago

See #8