Replace → with ->
Apparently Windows still isn't using UTF-8 by default, and fails when handling these log entries.
This commit is contained in:
parent
5a41167a09
commit
772a5a1b1c
@ -517,7 +517,7 @@ class Packer:
|
||||
target: pathlib.Path,
|
||||
may_move=False):
|
||||
if self.noop:
|
||||
print('%s → %s' % (asset_path, target))
|
||||
print('%s -> %s' % (asset_path, target))
|
||||
self._file_count += 1
|
||||
return
|
||||
|
||||
@ -541,6 +541,6 @@ class Packer:
|
||||
with infopath.open('w') as infofile:
|
||||
print('This is a Blender Asset Tracer pack.', file=infofile)
|
||||
print('Start by opening the following blend file:', file=infofile)
|
||||
print(' %s' % self._output_path.relative_to(self.target), file=infofile)
|
||||
print(' %s' % self._output_path.relative_to(self.target).as_posix(), file=infofile)
|
||||
|
||||
self._file_transferer.queue_move(infopath, self.target / infoname)
|
||||
|
||||
@ -139,7 +139,7 @@ class FileCopier(transfer.FileTransferer):
|
||||
if self._error.is_set() or self._abort.is_set():
|
||||
raise AbortTransfer()
|
||||
|
||||
log.info('%s %s → %s', act.name, src, dst)
|
||||
log.info('%s %s -> %s', act.name, src, dst)
|
||||
tfunc(src, dst)
|
||||
except AbortTransfer:
|
||||
# either self._error or self._abort is already set. We just have to
|
||||
@ -210,7 +210,7 @@ class FileCopier(transfer.FileTransferer):
|
||||
self.files_skipped += 1
|
||||
return
|
||||
|
||||
log.debug('Copying %s → %s', srcpath, dstpath)
|
||||
log.debug('Copying %s -> %s', srcpath, dstpath)
|
||||
self._copy(srcpath, dstpath)
|
||||
|
||||
self.already_copied.add((srcpath, dstpath))
|
||||
|
||||
@ -153,7 +153,7 @@ class BlockUsage:
|
||||
self._abspath = as_path.resolve()
|
||||
except FileNotFoundError:
|
||||
self._abspath = as_path
|
||||
log.info('Resolving %s rel to %s → %s',
|
||||
log.info('Resolving %s rel to %s -> %s',
|
||||
self.asset_path, self.block.bfile.filepath, self._abspath)
|
||||
else:
|
||||
log.info('Reusing abspath %s', self._abspath)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user