Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions test.py
Original file line number Diff line number Diff line change
Expand Up @@ -605,6 +605,11 @@ def hashReferenceFiles(s):
del(c["configFromFile"])
if "referenceFiles" in c:
del(c["referenceFilesURL"])
# Where the reference files happen to live on this machine must not go into
# the hash: their contents are hashed just below, and two machines sharing
# a database have to agree on what a configuration is. Each machine only
# ever had its own sqlite3 file before, so an absolute path was harmless.
c["referenceFiles"] = "referenceFiles"
confighash = strToHashInt(str(c)+hashReferenceFiles(conf["referenceFiles"]))
else:
confighash = strToHashInt(str(c)+hashReferenceFiles(""))
Expand Down
Loading