Skip to content

Commit d27f07c

Browse files
committed
Fix whitespace
1 parent 6c3f0f5 commit d27f07c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/compas/_os.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,16 +66,19 @@ def select_python(python_executable):
6666
def absjoin(*parts):
6767
return os.path.abspath(os.path.join(*parts))
6868

69+
6970
# Cache whatever symlink function works (native or polyfill)
7071
_os_symlink = None
7172

73+
7274
def create_symlink_polyfill():
7375
def symlink_ms(source, link_name):
7476
subprocess.check_output(
7577
['mklink', '/D', link_name, source], stderr=subprocess.STDOUT, shell=True)
7678

7779
return symlink_ms
7880

81+
7982
def create_symlink(source, link_name):
8083
"""Create a symbolic link pointing to source named link_name.
8184
@@ -108,6 +111,7 @@ def create_symlink(source, link_name):
108111
_os_symlink = create_symlink_polyfill()
109112
_os_symlink(source, link_name)
110113

114+
111115
def remove_symlink(link):
112116
if os.path.isdir(link):
113117
try:

0 commit comments

Comments
 (0)