summaryrefslogtreecommitdiff
path: root/pytests
diff options
context:
space:
mode:
authorJonathan Abrahams <jonathan@mongodb.com>2017-12-06 14:18:32 -0500
committerJonathan Abrahams <jonathan@mongodb.com>2017-12-06 14:18:32 -0500
commit6409e02490d57ae2191bb3960fec8f6ca09fc5b4 (patch)
tree51ca6e811f472715e36d93703e5a828d999a8203 /pytests
parent0291277c5fb33d5776c2b19dcf42c9bd76bb777f (diff)
downloadmongo-6409e02490d57ae2191bb3960fec8f6ca09fc5b4.tar.gz
SERVER-32074 Powercycle - Fix Windows event_name for handling stack dumps
Diffstat (limited to 'pytests')
-rwxr-xr-xpytests/powertest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pytests/powertest.py b/pytests/powertest.py
index 31492116e3d..37b60a9bd58 100755
--- a/pytests/powertest.py
+++ b/pytests/powertest.py
@@ -180,7 +180,7 @@ def register_signal_handler(handler):
if _IS_WINDOWS:
# Create unique event_name.
- event_name = "Global\\Mongo_Python_%d".format(os.getpid())
+ event_name = "Global\\Mongo_Python_{:d}".format(os.getpid())
LOGGER.debug("Registering event %s", event_name)
try: