Skip to content

Commit

Permalink
avodi deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
VanyaBelyaev committed Sep 8, 2024
1 parent c9df3ad commit 081380a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ostap/io/compress_shelve.py
Original file line number Diff line number Diff line change
Expand Up @@ -846,7 +846,8 @@ def uncompress_file ( self , filein , where ) :
logger.info ( "Tar-file `%s` content:" % filein )
tfile.list()
for item in tfile :
tfile.extract ( item , path = where )
args = { 'filter' : 'data' } if ( 3 , 12 ) <= python_version else {}
tfile.extract ( item , path = where , **args )
name = ( os.path.join ( where , item.name ) )
name = os.path.normpath ( name )
items.append ( name )
Expand Down

0 comments on commit 081380a

Please sign in to comment.