<s> from simplestack . exceptions import FeatureNotImplemented <EOL> def require_libvirt ( available ) : <EOL> """<STR_LIT>""" <EOL> def wrapper ( f ) : <EOL> def has_connection ( * args , ** kwargs ) : <EOL> if not available : <EOL> raise FeatureNotImplemented ( ) <EOL> return f ( * args , ** kwargs ) <EOL> return has_connection <EOL> return wrapper </s>
