forked from shaba/openuds
A couple minor fixes
This commit is contained in:
parent
10201bd976
commit
63fc505bee
@ -27,18 +27,6 @@
|
||||
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
'''
|
||||
Sample Service module.
|
||||
|
||||
This package simply shows how a new service can be implemented.
|
||||
|
||||
|
||||
The first thing to do in every package that is a module is register the
|
||||
class that is responsible of providing the module with the system.
|
||||
|
||||
For this, we must simply import the class at __init__, UDS will take care
|
||||
of the rest
|
||||
'''
|
||||
|
||||
from OVirtProvider import Provider
|
||||
|
||||
|
@ -83,7 +83,7 @@ class Client(object):
|
||||
lock.acquire(True)
|
||||
return self.__getApi().test()
|
||||
except Exception as e:
|
||||
print e
|
||||
logger.error('Testing Server failed: {0}'.format(e))
|
||||
return False
|
||||
finally:
|
||||
lock.release()
|
||||
|
Loading…
Reference in New Issue
Block a user