Skip to content

Commit

Permalink
1. sqlitedict : tiny fix for warning in python-3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
VanyaBelyaev committed Jun 13, 2024
1 parent 11a27b6 commit 56af5a4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion ReleaseNotes/release_notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
1. Improve `addTMVAResponse` and `addChoppingResponse` (and their paralell analogues)
1. improve `parallel_copy`, rely on `xargs` when `GNU parallel` is not available
1. add add parallel `sync, based on `rsync -a` & `xargs/parallel`

1. `sqlitedict` : tiny fix for warning in `python-3.11`

## Backward incompatible

## Bug fixes
Expand Down
5 changes: 4 additions & 1 deletion ostap/io/sqlitedict.py
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,10 @@ def __init__(self, filename, flag , autocommit, journal_mode , timeout = 5 ):
self.timeout = timeout
# use request queue of unlimited size
self.reqs = Queue()
self.setDaemon(True) # python2.5-compatible

## self.setDaemon(True) # python2.5-compatible
self.daemon = True

self.exception = None
self.log = logging.getLogger('sqlitedict.SqliteMultithread')
self.start()
Expand Down

0 comments on commit 56af5a4

Please sign in to comment.