mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-13 22:03:04 +00:00
Make this log message less confusing.
The method name still needs to be fixed.
This commit is contained in:
parent
70ec8f2963
commit
da0bbd6bba
@ -43,11 +43,11 @@ _INSERT_OR_UPDATE = Field.for_types(
|
||||
validateSetMembership({u"insert", u"update"}),
|
||||
)
|
||||
|
||||
DID_UPLOAD_VERSION = ActionType(
|
||||
u"magic-folder-db:did-upload-version",
|
||||
UPDATE_ENTRY = ActionType(
|
||||
u"magic-folder-db:update-entry",
|
||||
[RELPATH, VERSION, LAST_UPLOADED_URI, LAST_DOWNLOADED_URI, LAST_DOWNLOADED_TIMESTAMP, PATHINFO],
|
||||
[_INSERT_OR_UPDATE],
|
||||
u"An file upload is being recorded in the database.",
|
||||
u"Record some metadata about a relative path in the magic-folder.",
|
||||
)
|
||||
|
||||
|
||||
@ -176,7 +176,7 @@ class MagicFolderDB(object):
|
||||
return set([r[0] for r in rows])
|
||||
|
||||
def did_upload_version(self, relpath_u, version, last_uploaded_uri, last_downloaded_uri, last_downloaded_timestamp, pathinfo):
|
||||
action = DID_UPLOAD_VERSION(
|
||||
action = UPDATE_ENTRY(
|
||||
relpath=relpath_u,
|
||||
version=version,
|
||||
last_uploaded_uri=last_uploaded_uri,
|
||||
|
Loading…
x
Reference in New Issue
Block a user