Disable bz2 support due incompatibility issues
This commit is contained in:
parent
bfd57561b7
commit
6a1c5d96ac
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ class UiRequestPlugin(object):
|
||||||
@PluginManager.registerTo("SiteStorage")
|
@PluginManager.registerTo("SiteStorage")
|
||||||
class SiteStoragePlugin(object):
|
class SiteStoragePlugin(object):
|
||||||
def isFile(self, inner_path):
|
def isFile(self, inner_path):
|
||||||
if ".zip/" in inner_path or ".tar.gz/" in inner_path or ".tar.bz2/" in inner_path:
|
if ".zip/" in inner_path or ".tar.gz/" in inner_path:
|
||||||
match = re.match("^(.*\.(?:tar.gz|tar.bz2|zip))/(.*)", inner_path)
|
match = re.match("^(.*\.(?:tar.gz|tar.bz2|zip))/(.*)", inner_path)
|
||||||
inner_archive_path, path_within = match.groups()
|
inner_archive_path, path_within = match.groups()
|
||||||
return super(SiteStoragePlugin, self).isFile(inner_archive_path)
|
return super(SiteStoragePlugin, self).isFile(inner_archive_path)
|
||||||
|
|
Loading…
Reference in a new issue