Skip to content

Commit 9e8480e

Browse files
authored
Fix the string interpolation so its not treated like a log message (#118)
* Fix the string interpolation so its not treated like a log message * Bump version
1 parent 3260175 commit 9e8480e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sync/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""Library for leveraging the power of Sync"""
22

3-
__version__ = "1.8.1"
3+
__version__ = "1.8.2"
44

55
TIME_FORMAT = "%Y-%m-%dT%H:%M:%SZ"

sync/_databricks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1462,7 +1462,7 @@ def _get_eventlog_from_dbfs(
14621462
root_dir = dbx_client.list_dbfs_directory(prefix)
14631463

14641464
if "files" not in root_dir:
1465-
raise DatabricksDBFSMissingFiles("Unable to locate files in DBFS dir - prefix:%s", prefix)
1465+
raise DatabricksDBFSMissingFiles(f"Unable to locate files in DBFS dir - prefix: {prefix}")
14661466

14671467
eventlog_files = [f for f in root_dir["files"] if f["is_dir"]]
14681468
matching_subdirectory = None

0 commit comments

Comments
 (0)