OLD | NEW |
---|---|
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2012 The Native Client Authors. All rights reserved. |
noelallen1
2012/09/19 19:47:25
same
| |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
6 """Copies necessary add-in files into place to install the add-in. | 6 """Copies necessary add-in files into place to install the add-in. |
7 | 7 |
8 This script will copy the necessary files for the Visual Studio add-in | 8 This script will copy the necessary files for the Visual Studio add-in |
9 to where Visual Studio can find them. It assumes the current directory | 9 to where Visual Studio can find them. It assumes the current directory |
10 contains the necessary files to copy. | 10 contains the necessary files to copy. |
11 """ | 11 """ |
12 | 12 |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
184 except shutil.Error as e: | 184 except shutil.Error as e: |
185 print "Error while copying file. Please ensure file is not in use." | 185 print "Error while copying file. Please ensure file is not in use." |
186 print e | 186 print e |
187 except WindowsError as e: | 187 except WindowsError as e: |
188 if e.winerror == 5: | 188 if e.winerror == 5: |
189 print "Access denied error. Please ensure Visual Studio and MSBuild" | 189 print "Access denied error. Please ensure Visual Studio and MSBuild" |
190 print "processes are closed." | 190 print "processes are closed." |
191 else: | 191 else: |
192 raise | 192 raise |
193 | 193 |
OLD | NEW |