/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/__init__.py

  • Committer: Gordon Tyler
  • Date: 2009-11-17 02:27:12 UTC
  • mfrom: (4800 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4802.
  • Revision ID: gordon@doxxx.net-20091117022712-4nrb2c0h4mzfkvx2
Merged from bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4321
4321
            # Windows doesn't have os.kill, and we catch the SIGBREAK signal.
4322
4322
            # We trigger SIGBREAK via a Console api so we need ctypes to
4323
4323
            # access the function
4324
 
            if not have_ctypes:
 
4324
            try:
 
4325
                import ctypes
 
4326
            except OSError:
4325
4327
                return False
4326
4328
        return True
4327
4329