Add some docstrings.

This commit is contained in:
Vladimir Rusinov
2016-12-02 16:35:19 +00:00
committed by Brian Warner
parent 7faec2e10a
commit 0d47e12e40
3 changed files with 10 additions and 1 deletions

View File

@ -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 = {}