~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/trace.py

  • Committer: John Arbash Meinel
  • Date: 2006-10-06 07:14:31 UTC
  • mto: This revision was merged to the branch mainline in revision 2071.
  • Revision ID: john@arbash-meinel.com-20061006071431-90c2cbe88302e462
don't import errors, and try to lazy import logging in bzrlib.trace

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
# is quite expensive, even when the message is not printed by any handlers.
51
51
# We should perhaps change back to just simply doing it here.
52
52
 
53
 
 
54
 
import errno
55
53
import os
56
54
import sys
57
55
import re
 
56
 
 
57
from bzrlib.lazy_import import lazy_import
 
58
lazy_import(globals(), """
 
59
import errno
58
60
import logging
 
61
""")
59
62
 
60
63
import bzrlib
61
 
from bzrlib.errors import BzrError, BzrNewError
62
64
from bzrlib.symbol_versioning import (deprecated_function,
63
65
        zero_nine,
64
66
        )