Skip to content

Commit 6027b3f

Browse files
committed
---
yaml --- r: 348507 b: refs/heads/master c: 5c7a32a h: refs/heads/master i: 348505: 4b504e3 348503: aac7f3c
1 parent c6c4e59 commit 6027b3f

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 6021a9db9756a4b0cf967c0e67e7854d955a1659
2+
refs/heads/master: 5c7a32a3335e23c36f3c6ad00a617dcb7e70fdbc
33
refs/heads/master-next: 203b3026584ecad859eb328b2e12490099409cd5
44
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
55
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea

trunk/test/Inputs/symlink.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env python
2+
import os
23
import subprocess
34
import sys
4-
import os
55

66
if len(sys.argv) < 3:
77
print('Too few args to ' + sys.argv[0])
@@ -22,6 +22,8 @@
2222
is_dir = os.path.isdir(sys.argv[1])
2323

2424
# Windows symlink support was introduced in python 3.2
25-
subprocess.check_call(['cmd.exe', '/C', 'mklink ' + ('/D' if is_dir else ''), link_path, points_to])
25+
subprocess.check_call(['cmd.exe', '/C',
26+
'mklink ' + ('/D' if is_dir else ''),
27+
link_path, points_to])
2628
else:
2729
os.symlink(points_to, link_path)

0 commit comments

Comments
 (0)