summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/Common/LongFilePathOs.py
diff options
context:
space:
mode:
Diffstat (limited to 'BaseTools/Source/Python/Common/LongFilePathOs.py')
-rw-r--r--BaseTools/Source/Python/Common/LongFilePathOs.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/BaseTools/Source/Python/Common/LongFilePathOs.py b/BaseTools/Source/Python/Common/LongFilePathOs.py
index 5e409e2030..12796b2682 100644
--- a/BaseTools/Source/Python/Common/LongFilePathOs.py
+++ b/BaseTools/Source/Python/Common/LongFilePathOs.py
@@ -14,7 +14,6 @@
import os
from . import LongFilePathOsPath
from Common.LongFilePathSupport import LongFilePath
-from Common.LongFilePathSupport import UniToStr
import time
path = LongFilePathOsPath
@@ -63,7 +62,7 @@ def listdir(path):
List = []
uList = os.listdir(u"%s" % LongFilePath(path))
for Item in uList:
- List.append(UniToStr(Item))
+ List.append(Item)
return List
environ = os.environ