~allenap/txlongpollfixture/txlongpoll-script

« back to all changes in this revision

Viewing changes to txlongpollfixture/server.py

  • Committer: Julian Edwards
  • Date: 2011-09-23 14:11:34 UTC
  • Revision ID: julian.edwards@canonical.com-20110923141134-anst13a00xm1u77y
remove spurious import of pdb

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
import pdb
2
1
# Copyright 2011 Canonical Ltd.  This software is licensed under the
3
2
# GNU Affero General Public License version 3 (see the file LICENSE).
4
3
 
89
88
                cmd, stdin=devnull, stdout=logfile, stderr=logfile,
90
89
                cwd=self.tempdir, preexec_fn=preexec_fn)
91
90
        # TODO: Add check to see that it actually started up.
 
91
        # (Successful connection to the frontend port should be enough.)
92
92
        self.addCleanup(self._stop)
93
93
 
94
94
        # Keep the logfile open so even if it's deleted we can read it