PluginManager/PluginInstallDialog.py

changeset 75
035e71f2edcd
parent 55
b5c84934de9c
child 77
c2df81df2cb9
equal deleted inserted replaced
74:f0c0e4638a0f 75:035e71f2edcd
266 return False, \ 266 return False, \
267 self.trUtf8("""<p>The destination directory <b>{0}</b> is not """ 267 self.trUtf8("""<p>The destination directory <b>{0}</b> is not """
268 """writeable. Aborting...</p>""").format(destination), \ 268 """writeable. Aborting...</p>""").format(destination), \
269 False 269 False
270 270
271 zip = zipfile.ZipFile(archive, "rb") 271 zip = zipfile.ZipFile(archive, "r")
272 272
273 # check, if the archive contains a valid plugin 273 # check, if the archive contains a valid plugin
274 pluginFound = False 274 pluginFound = False
275 pluginFileName = "" 275 pluginFileName = ""
276 for name in zip.namelist(): 276 for name in zip.namelist():

eric ide

mercurial