Remove unnecessary print
Removes unnecessary print of an exception. Change-Id: Ic8ccfb4a6f8c8c62a8b11c630aa4a87fecd340c6
This commit is contained in:
parent
e40bb953d2
commit
122a5c58bc
|
@ -896,7 +896,6 @@ class WindowsUtils(base.BaseOSUtils):
|
|||
with self._get_service_handle(service_name):
|
||||
return True
|
||||
except pywintypes.error as ex:
|
||||
print(ex)
|
||||
if ex.winerror == winerror.ERROR_SERVICE_DOES_NOT_EXIST:
|
||||
return False
|
||||
raise
|
||||
|
|
Loading…
Reference in New Issue