4457: Setup addons
svn: r16278
This commit is contained in:
parent
f0ece22743
commit
4742d33e26
@ -537,7 +537,11 @@ class PluginStatus(ManagedWindow.ManagedWindow):
|
||||
except:
|
||||
callback(_("Unable to open '%s'") % path)
|
||||
return
|
||||
try:
|
||||
buffer = cStringIO.StringIO(fp.read())
|
||||
except:
|
||||
callback(_("Error in reading '%s'") % path)
|
||||
return
|
||||
fp.close()
|
||||
# file_obj is either Zipfile or TarFile
|
||||
if path.endswith(".zip") or path.endswith(".ZIP"):
|
||||
|
Loading…
x
Reference in New Issue
Block a user