This commit is contained in:
Kovid Goyal 2008-06-01 20:04:54 -07:00
parent 09b823cf3e
commit 10f204b2f6
3 changed files with 4 additions and 4 deletions

View File

@ -177,7 +177,7 @@ class MobiReader(object):
opf.render(open(os.path.splitext(htmlfile)[0]+'.opf', 'wb')) opf.render(open(os.path.splitext(htmlfile)[0]+'.opf', 'wb'))
def cleanup(self): def cleanup(self):
self.processed_html = re.sub(r'<div height="0em"></div>', '', self.processed_html) self.processed_html = re.sub(r'<div height="0(em|%)"></div>', '', self.processed_html)
def create_opf(self, htmlfile): def create_opf(self, htmlfile):
mi = self.book_header.exth.mi mi = self.book_header.exth.mi

View File

@ -29,8 +29,8 @@ class Distribution(object):
('setuptools', '0.6c5', 'setuptools', 'python-setuptools', 'python-setuptools-devel'), ('setuptools', '0.6c5', 'setuptools', 'python-setuptools', 'python-setuptools-devel'),
('Python Imaging Library', '1.1.6', 'imaging', 'python-imaging', 'python-imaging'), ('Python Imaging Library', '1.1.6', 'imaging', 'python-imaging', 'python-imaging'),
('libusb', '0.1.12', None, None, None), ('libusb', '0.1.12', None, None, None),
('Qt', '4.3.1', 'qt', 'libqt4-core libqt4-gui', 'qt4'), ('Qt', '4.4.0', 'qt', 'libqt4-core libqt4-gui', 'qt4'),
('PyQt', '4.3.1', 'PyQt4', 'python-qt4', 'PyQt4'), ('PyQt', '4.4.2', 'PyQt4', 'python-qt4', 'PyQt4'),
('fonttools', '2.0-beta1', 'fonttools', 'fonttools', 'fonttools'), ('fonttools', '2.0-beta1', 'fonttools', 'fonttools', 'fonttools'),
('mechanize for python', '0.1.7b', 'dev-python/mechanize', 'python-mechanize', 'python-mechanize'), ('mechanize for python', '0.1.7b', 'dev-python/mechanize', 'python-mechanize', 'python-mechanize'),
('ImageMagick', '6.3.5', 'imagemagick', 'imagemagick', 'ImageMagick'), ('ImageMagick', '6.3.5', 'imagemagick', 'imagemagick', 'ImageMagick'),

View File

@ -2293,7 +2293,7 @@ msgstr ""
#: /home/kovid/work/calibre/src/calibre/gui2/main.py:94 #: /home/kovid/work/calibre/src/calibre/gui2/main.py:94
msgid "<b>%s</b>: %s by <b>Kovid Goyal %%(version)s</b><br>%%(device)s</p>" msgid "<b>%s</b>: %s by <b>Kovid Goyal %%(version)s</b><br>%%(device)s</p>"
msgstr "<b>%s</b>: %s by <b>Kovid Goyal %%(versión)s</b><br>%%(device)s</p>" msgstr "<b>%s</b>: %s by <b>Kovid Goyal %%(version)s</b><br>%%(device)s</p>"
#: /home/kovid/work/calibre/src/calibre/gui2/main.py:113 #: /home/kovid/work/calibre/src/calibre/gui2/main.py:113
msgid "Send to main memory" msgid "Send to main memory"