Rewrite type comments again
This commit is contained in:
parent
03ac3b4d7d
commit
b8c70e5986
@ -312,9 +312,9 @@ class _Downloader:
|
||||
for style in styles:
|
||||
style = webkitelem.WebKitElement(style, tab=self.tab)
|
||||
# The Mozilla Developer Network says:
|
||||
# type - This attribute defines the styling language as a MIME type
|
||||
# (charset should not be specified). This attribute is optional and
|
||||
# default to text/css if it's missing.
|
||||
# > type: This attribute defines the styling language as a MIME
|
||||
# > type (charset should not be specified). This attribute is
|
||||
# > optional and default to text/css if it's missing.
|
||||
# https://developer.mozilla.org/en/docs/Web/HTML/Element/style
|
||||
if 'type' in style and style['type'] != 'text/css':
|
||||
continue
|
||||
|
@ -74,10 +74,10 @@ class SqliteError(SqlError):
|
||||
'13', # SQLITE_FULL
|
||||
]
|
||||
# At least in init(), we can get errors like this:
|
||||
# type - ConnectionError
|
||||
# database text: out of memory
|
||||
# driver text: Error opening database
|
||||
# error code: -1
|
||||
# > type: ConnectionError
|
||||
# > database text: out of memory
|
||||
# > driver text: Error opening database
|
||||
# > error code: -1
|
||||
environmental_strings = [
|
||||
"out of memory",
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user