mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
pep8
This commit is contained in:
parent
11153b1c77
commit
b6540810bf
@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
__all__ = ["what"]
|
__all__ = ["what"]
|
||||||
|
|
||||||
#-------------------------#
|
# -------------------------#
|
||||||
# Recognize image headers #
|
# Recognize image headers #
|
||||||
#-------------------------#
|
# -------------------------#
|
||||||
|
|
||||||
def what(file, h=None):
|
def what(file, h=None):
|
||||||
if h is None:
|
if h is None:
|
||||||
@ -33,9 +33,9 @@ def what(file, h=None):
|
|||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
||||||
#---------------------------------#
|
# ---------------------------------#
|
||||||
# Subroutines per image file type #
|
# Subroutines per image file type #
|
||||||
#---------------------------------#
|
# ---------------------------------#
|
||||||
|
|
||||||
tests = []
|
tests = []
|
||||||
|
|
||||||
@ -132,9 +132,9 @@ def test_emf(h, f):
|
|||||||
|
|
||||||
tests.append(test_emf)
|
tests.append(test_emf)
|
||||||
|
|
||||||
#--------------------#
|
# --------------------#
|
||||||
# Small test program #
|
# Small test program #
|
||||||
#--------------------#
|
# --------------------#
|
||||||
|
|
||||||
def test():
|
def test():
|
||||||
import sys
|
import sys
|
||||||
|
Loading…
x
Reference in New Issue
Block a user