more debug logs w/ burnettk
This commit is contained in:
parent
874d99580d
commit
fc580cbba6
|
@ -54,6 +54,9 @@ class ProcessModelInfo:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
# for use with os.path.join so it can work on windows
|
# for use with os.path.join so it can work on windows
|
||||||
|
# NOTE: in APIs, ids should always have forward slashes, even in windows.
|
||||||
|
# this is because we have to store ids in the database, and we want the same
|
||||||
|
# database snapshot to work on any OS.
|
||||||
def id_for_file_path(self) -> str:
|
def id_for_file_path(self) -> str:
|
||||||
"""Id_for_file_path."""
|
"""Id_for_file_path."""
|
||||||
return self.id.replace("/", os.sep)
|
return self.id.replace("/", os.sep)
|
||||||
|
|
Loading…
Reference in New Issue