# Import Modules\r
#\r
import Section\r
-import StringIO\r
+from io import BytesIO\r
from Ffs import Ffs\r
import subprocess\r
from GenFdsGlobalVariable import GenFdsGlobalVariable\r
# Generate Fv\r
#\r
if self.FvName is not None:\r
- Buffer = StringIO.StringIO('')\r
+ Buffer = BytesIO('')\r
Fv = GenFdsGlobalVariable.FdfParser.Profile.FvDict.get(self.FvName)\r
if Fv is not None:\r
self.Fv = Fv\r