~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/util/bencode.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-03-21 06:05:30 UTC
  • mfrom: (2361.1.1 dont-use-psyco)
  • Revision ID: pqm@pqm.ubuntu.com-20070321060530-12465d0010713245
(Andrew Bennetts) Don't use automatically use psyco just by importing a module.  It has the nasty side-effect of breaking pdb.

Show diffs side-by-side

added added

removed removed

Lines of Context:
320
320
        return
321
321
    assert 0
322
322
 
323
 
try:
324
 
    import psyco
325
 
    psyco.bind(bdecode)
326
 
    psyco.bind(bencode)
327
 
except ImportError:
328
 
    pass