diff contrib/automation/hgautomation/aws.py @ 42064:0e9066db5e44

automation: use raw strings when there are backslashes Otherwise Python 3.8 complains. Differential Revision: https://phab.mercurial-scm.org/D6201
author Gregory Szorc <gregory.szorc@gmail.com>
date Thu, 04 Apr 2019 18:01:02 -0700
parents b05a3e28cf24
children 730edbd836d8
line wrap: on
line diff
--- a/contrib/automation/hgautomation/aws.py	Thu Apr 04 17:47:25 2019 -0700
+++ b/contrib/automation/hgautomation/aws.py	Thu Apr 04 18:01:02 2019 -0700
@@ -118,7 +118,7 @@
 # and configure WinRM.
 # Inspired by the User Data script used by Packer
 # (from https://www.packer.io/intro/getting-started/build-image.html).
-WINDOWS_USER_DATA = '''
+WINDOWS_USER_DATA = r'''
 <powershell>
 
 # TODO enable this once we figure out what is failing.