diff options
| author | Stephane Wirtel <stephane@tinyerp.com> | 2009-01-05 22:02:40 +0100 |
|---|---|---|
| committer | Stephane Wirtel <stephane@tinyerp.com> | 2009-01-05 22:02:40 +0100 |
| commit | c5923d87f2b087e54b759c920cdbea041e8ab3ba (patch) | |
| tree | 1a8ab901905eaa942ca7952414bd9bc659b71719 /bin/addons/base/module/wizard/wizard_module_import.py | |
| parent | 7fdf5188af68dda4e81f82cb348e1c5cdb30797e (diff) | |
[IMP] Use cStringIO
bzr revid: stephane@tinyerp.com-20090105210240-nkg2vm08dwhz2xtq
Diffstat (limited to 'bin/addons/base/module/wizard/wizard_module_import.py')
| -rw-r--r-- | bin/addons/base/module/wizard/wizard_module_import.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/addons/base/module/wizard/wizard_module_import.py b/bin/addons/base/module/wizard/wizard_module_import.py index c166761b275..e686fa856e2 100644 --- a/bin/addons/base/module/wizard/wizard_module_import.py +++ b/bin/addons/base/module/wizard/wizard_module_import.py @@ -28,7 +28,7 @@ import os import tools import zipfile -import StringIO +import cStringIO import base64 finish_form ='''<?xml version="1.0"?> @@ -55,7 +55,7 @@ class move_module_wizard(wizard.interface): module_data = data['form']['module_file'] val =base64.decodestring(module_data) - fp = StringIO.StringIO(val) + fp = cStringIO.StringIO(val) fdata = zipfile.ZipFile(fp, 'r') fname = fdata.namelist()[0] module_name = os.path.split(fname)[0] |
