/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/smart/server.py

  • Committer: Jonathan Riddell
  • Date: 2011-05-24 14:07:19 UTC
  • mto: This revision was merged to the branch mainline in revision 5927.
  • Revision ID: jriddell@canonical.com-20110524140719-f09th8bxf15sint9
add test for server exception hook. Also ensure return code is checked in run_bzr_serve_then_func()

Show diffs side-by-side

added added

removed removed

Lines of Context:
377
377
        for cleanup in reversed(self.cleanups):
378
378
            cleanup()
379
379
 
380
 
import exceptions
381
 
 
382
380
def serve_bzr(transport, host=None, port=None, inet=False):
383
381
    """This is the default implementation of 'bzr serve'.
384
382