mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
pep8
This commit is contained in:
parent
5755625d1e
commit
930624d2be
@ -239,7 +239,7 @@ class FontManager(object):
|
|||||||
if name not in STANDARD_FONTS:
|
if name not in STANDARD_FONTS:
|
||||||
raise ValueError('%s is not a standard font'%name)
|
raise ValueError('%s is not a standard font'%name)
|
||||||
if name not in self.std_map:
|
if name not in self.std_map:
|
||||||
self.std_map[name] = self.objects.add(Dictionary({
|
self.std_map[name] = self.objects.add(Dictionary({
|
||||||
'Type':Name('Font'),
|
'Type':Name('Font'),
|
||||||
'Subtype':Name('Type1'),
|
'Subtype':Name('Type1'),
|
||||||
'BaseFont':Name(name)
|
'BaseFont':Name(name)
|
||||||
|
@ -12,8 +12,7 @@ Utilities to help with developing coffeescript based apps.
|
|||||||
A coffeescript compiler and a simple web server that automatically serves
|
A coffeescript compiler and a simple web server that automatically serves
|
||||||
coffeescript files as javascript.
|
coffeescript files as javascript.
|
||||||
'''
|
'''
|
||||||
import sys, traceback, io
|
import sys, traceback, io, time, os, re
|
||||||
import time, os, sys, re
|
|
||||||
from threading import Lock, local
|
from threading import Lock, local
|
||||||
|
|
||||||
from polyglot import socketserver
|
from polyglot import socketserver
|
||||||
|
Loading…
x
Reference in New Issue
Block a user