Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
kovidgoyal committed Jul 31, 2022
1 parent b17fd29 commit d130d81
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/calibre/db/backup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,17 @@
__copyright__ = '2013, Kovid Goyal <kovid at kovidgoyal.net>'
__docformat__ = 'restructuredtext en'

import weakref, traceback
import weakref, traceback, sys
from threading import Thread, Event

from calibre import prints
from calibre.ebooks.metadata.opf2 import metadata_to_opf


def prints(*a, **kw):
kw['file'] = sys.stderr
return print(*a, **kw)


class Abort(Exception):
pass

Expand Down

0 comments on commit d130d81

Please sign in to comment.