Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Erotemic committed Jun 8, 2024
1 parent e7fe4d2 commit bffed9a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ubelt/_win32_links.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@ def _win32_can_symlink(verbose=0, force=0, testing=0):
if verbose:
print('Testing that we can create junctions, '
'even if symlinks are disabled')
from ubelt import util_links
util_links._dirstats(tempdir)
print('^^ before ^^')
# from ubelt import util_links
# util_links._dirstats(tempdir)
# print('^^ before ^^')

djunc = _win32_junction(dpath, join(tempdir, 'djunc'), verbose=verbose)
fjunc = _win32_junction(fpath, join(tempdir, 'fjunc.txt'), verbose=verbose)
Expand Down Expand Up @@ -272,7 +272,7 @@ def _win32_symlink(path, link, verbose=0):
command = 'mklink "{}" "{}"'.format(link, path)

if command is not None:
cmd_verbose = verbose >= 3
cmd_verbose = 3 * verbose >= 3
info = util_cmd.cmd(command, shell=True, verbose=cmd_verbose)
if info['ret'] != 0:
from ubelt import util_repr
Expand Down Expand Up @@ -345,7 +345,7 @@ def _win32_junction(path, link, verbose=0):
command = None

if command is not None:
cmd_verbose = verbose >= 3
cmd_verbose = 3 * verbose >= 3
info = util_cmd.cmd(command, shell=True, verbose=cmd_verbose)
if info['ret'] != 0:
from ubelt import util_repr
Expand Down

0 comments on commit bffed9a

Please sign in to comment.