mirror of
https://github.com/element-hq/synapse.git
synced 2026-08-28 09:24:41 +00:00
synapse/app/homeserver.py:GzipFile was unused
This commit is contained in:
@@ -85,12 +85,6 @@ import time
|
||||
logger = logging.getLogger("synapse.app.homeserver")
|
||||
|
||||
|
||||
class GzipFile(File):
|
||||
def getChild(self, path, request):
|
||||
child = File.getChild(self, path, request)
|
||||
return EncodingResourceWrapper(child, [GzipEncoderFactory()])
|
||||
|
||||
|
||||
def gz_wrap(r):
|
||||
return EncodingResourceWrapper(r, [GzipEncoderFactory()])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user