Browse Source

prevent an exception because of a missing handleResponse...

[git-p4: depot-paths = "//depot/": change = 826]
v0.3
John-Mark Gurney 18 years ago
parent
commit
ddc672456e
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      shoutcast.py

+ 5
- 0
shoutcast.py View File

@@ -114,6 +114,11 @@ class ShoutTransfer(shoutcast.ShoutcastClient):
self.passback = None
self.request = None

def handleResponse(self, response):
#Drop the data, the parts get the important data, if we got
#here, the connection closed and we are going to die anyways.
pass

def stopProducing(self):
log.msg('stopProducing:', `self.request`, `self.passback`)
shoutcast.ShoutcastClient.stopProducing(self)


Loading…
Cancel
Save