mirror of
https://github.com/boostorg/boostdep.git
synced 2026-07-21 13:13:31 +00:00
Only use unicode() on Windows
This commit is contained in:
+4
-1
@@ -81,7 +81,10 @@ def scan_directory( d, x, gm, deps ):
|
||||
|
||||
vprint( 'Scanning directory', d )
|
||||
|
||||
for root, dirs, files in os.walk( unicode( d ) ):
|
||||
if os.name == 'nt':
|
||||
d = unicode( d )
|
||||
|
||||
for root, dirs, files in os.walk( d ):
|
||||
|
||||
for file in files:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user