Commit affd28bb authored by Chris Burr's avatar Chris Burr
Browse files

Allow setting RootCompressionLevel to fail with an AttributeError

parent 419cbfcd
Pipeline #3645531 passed with stages
in 3 minutes and 31 seconds
...@@ -37,11 +37,14 @@ def write_jsroot_compression_options(dynamic_dir): ...@@ -37,11 +37,14 @@ def write_jsroot_compression_options(dynamic_dir):
"RootCnvSvc().GlobalCompression = 'ZLIB:1'", "RootCnvSvc().GlobalCompression = 'ZLIB:1'",
"", "",
"try:", "try:",
" from Configurables import DaVinci", " from Configurables import DaVinci",
"except ImportError:", "except ImportError:",
" pass", " pass",
"else:", "else:",
" DaVinci().RootCompressionLevel = 'ZLIB:1'", " try:",
" DaVinci().RootCompressionLevel = 'ZLIB:1'",
" except AttributeError:",
" pass",
] ]
) )
) )
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment