mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-06-23 01:08:53 +00:00
Add some docstrings.
This commit is contained in:
committed by
Brian Warner
parent
7faec2e10a
commit
0d47e12e40
@ -28,7 +28,9 @@ from allmydata.util.dictutil import AuxValueDict
|
||||
|
||||
def update_metadata(metadata, new_metadata, now):
|
||||
"""Updates 'metadata' in-place with the information in 'new_metadata'.
|
||||
Timestamps are set according to the time 'now'."""
|
||||
|
||||
Timestamps are set according to the time 'now'.
|
||||
"""
|
||||
|
||||
if metadata is None:
|
||||
metadata = {}
|
||||
|
Reference in New Issue
Block a user