summary refs log tree commit diff
path: root/synapse/rest
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-10-13 15:23:41 +0100
committerErik Johnston <erik@matrix.org>2017-10-13 15:23:41 +0100
commit6b725cf56aaf090f9cc9d5409dec7912feae8869 (patch)
tree61b7c3a69c4b85da2eef40aba80c8a25e156a477 /synapse/rest
parentDon't reuse source but instead copy from primary media store to backup (diff)
downloadsynapse-6b725cf56aaf090f9cc9d5409dec7912feae8869.tar.xz
Remove old comment
Diffstat (limited to 'synapse/rest')
-rw-r--r--synapse/rest/media/v1/media_repository.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/synapse/rest/media/v1/media_repository.py b/synapse/rest/media/v1/media_repository.py
index e32a67e16a..cc267d0c16 100644
--- a/synapse/rest/media/v1/media_repository.py
+++ b/synapse/rest/media/v1/media_repository.py
@@ -102,7 +102,6 @@ class MediaRepository(object):
         Args:
             source: A file like object to be written
             fname (str): Path to write to
-            close_source (bool): Whether to close source after writing
         """
         MediaRepository._makedirs(fname)
         source.seek(0)  # Ensure we read from the start of the file