Merge pull request #48416 from dwoz/service_integration_fix

Fix service integration test (py3)
This commit is contained in:
Nicole Thomas 2018-07-03 10:08:45 -04:00 committed by GitHub
commit 827ef2aac4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -683,7 +683,7 @@ def modify(name,
win32service.SERVICE_QUERY_CONFIG)
except pywintypes.error as exc:
raise CommandExecutionError(
'Failed To Open {0}: {1}'.format(name, exc[2]))
'Failed To Open {0}: {1}'.format(name, exc))
config_info = win32service.QueryServiceConfig(handle_svc)