removed all trailing spaces from blank lines

This commit is contained in:
Miroslav Stampar
2010-11-03 10:08:27 +00:00
parent 977df7276d
commit 6adee3792a
29 changed files with 121 additions and 122 deletions

View File

@@ -116,7 +116,7 @@ def decodePage(page, contentEncoding, contentType):
data = gzip.GzipFile('', 'rb', 9, StringIO.StringIO(page))
page = data.read()
#http://stackoverflow.com/questions/1020892/python-urllib2-read-to-unicode
if contentType and (contentType.find('charset=') != -1):
charset = checkCharEncoding(contentType.split('charset=')[-1])