comparison 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
comparison
equal deleted inserted replaced
42063:912d82daeda3 42064:0e9066db5e44
116 116
117 # User Data for Windows EC2 instance. Mainly used to set the password 117 # User Data for Windows EC2 instance. Mainly used to set the password
118 # and configure WinRM. 118 # and configure WinRM.
119 # Inspired by the User Data script used by Packer 119 # Inspired by the User Data script used by Packer
120 # (from https://www.packer.io/intro/getting-started/build-image.html). 120 # (from https://www.packer.io/intro/getting-started/build-image.html).
121 WINDOWS_USER_DATA = ''' 121 WINDOWS_USER_DATA = r'''
122 <powershell> 122 <powershell>
123 123
124 # TODO enable this once we figure out what is failing. 124 # TODO enable this once we figure out what is failing.
125 #$ErrorActionPreference = "stop" 125 #$ErrorActionPreference = "stop"
126 126