Skip to content

Commit

Permalink
trim
Browse files Browse the repository at this point in the history
FossilOrigin-Name: f6c8d5319e1143e9ba7ed1a9c576e4ef69309c131082f2e1780b954c864bdc63
  • Loading branch information
jcy committed Jul 22, 2024
1 parent cff32f0 commit ff46a4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion litestash/core/util/litestash_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ def set_pragma(db_connection, connect):
connection_record: The SQLAlchemy connection record
(not used in this implementation).
"""
print(f'connection: {connect}')
if connect.in_use:
print('how?')
cursor = db_connection.cursor()
cursor.execute(Pragma.journal_mode())
cursor.execute(Pragma.synchronous())
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ iniconfig==2.0.0
isort==5.13.2
mccabe==0.7.0
orjson==3.10.6
packaging==24.1
platformdirs==4.2.2
pluggy==1.5.0
pydantic==2.8.2
Expand Down

0 comments on commit ff46a4c

Please # to comment.