We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1773340 commit 6f9feafCopy full SHA for 6f9feaf
1 file changed
cuda_core/cuda/core/utils/_program_cache.py
@@ -1120,9 +1120,8 @@ def _connect_and_init(self) -> None:
1120
entries_present_with_unknown_version = row is not None
1121
1122
needs_drop = (
1123
- (schema_version_known and existing_version != _SQLITE_SCHEMA_VERSION)
1124
- or entries_present_with_unknown_version
1125
- )
+ schema_version_known and existing_version != _SQLITE_SCHEMA_VERSION
+ ) or entries_present_with_unknown_version
1126
if needs_drop:
1127
# Drop all cache tables -- ensures structural mismatch (whether
1128
# a version bump or a foreign/pre-schema_meta ``entries``
0 commit comments