mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Merge branch 'release_19.09' into release_20.01
This commit is contained in:
@@ -3,6 +3,7 @@ from __future__ import print_function
|
||||
|
||||
import binascii
|
||||
import gzip
|
||||
import io
|
||||
import logging
|
||||
import os
|
||||
import shutil
|
||||
@@ -2167,7 +2168,7 @@ class SearchGuiArchive(CompressedArchive):
|
||||
with zipfile.ZipFile(dataset.file_name) as tempzip:
|
||||
if 'searchgui.properties' in tempzip.namelist():
|
||||
with tempzip.open('searchgui.properties') as fh:
|
||||
for line in fh:
|
||||
for line in io.TextIOWrapper(fh):
|
||||
if line.startswith('searchgui.version'):
|
||||
version = line.split('=')[1].strip()
|
||||
dataset.metadata.searchgui_version = version
|
||||
|
||||
Reference in New Issue
Block a user