mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Remove unused code
This commit is contained in:
parent
a2c02acfe0
commit
6d90650808
@ -220,11 +220,6 @@ class NetworkReply(QNetworkReply):
|
|||||||
|
|
||||||
class NetworkAccessManager(QNetworkAccessManager):
|
class NetworkAccessManager(QNetworkAccessManager):
|
||||||
|
|
||||||
OPERATION_NAMES = {getattr(QNetworkAccessManager, '%sOperation'%x) :
|
|
||||||
x.upper() for x in ('Head', 'Get', 'Put', 'Post', 'Delete',
|
|
||||||
'Custom')
|
|
||||||
}
|
|
||||||
|
|
||||||
def createRequest(self, operation, request, data):
|
def createRequest(self, operation, request, data):
|
||||||
qurl = request.url()
|
qurl = request.url()
|
||||||
if operation == self.GetOperation and qurl.host() == FAKE_HOST:
|
if operation == self.GetOperation and qurl.host() == FAKE_HOST:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user