synapse/app/homeserver.py:GzipFile was unused

pull/288/head
Mark Haines 2015-09-22 18:25:30 +01:00
parent a247729806
commit 184ba0968a
1 changed files with 0 additions and 6 deletions

View File

@ -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()])