~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/smart/repository.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-09-08 06:18:35 UTC
  • mfrom: (3695.1.1 trivial)
  • Revision ID: pqm@pqm.ubuntu.com-20080908061835-nz7hj7o0pms1nf9p
(trivial) Remove some unused imports,
        fix two trivially broken raise statements. (Andrew Bennetts)

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
"""Server-side repository related request implmentations."""
18
18
 
19
19
import bz2
20
 
from cStringIO import StringIO
21
20
import os
22
21
import sys
23
22
import tempfile
28
27
    osutils,
29
28
    )
30
29
from bzrlib.bzrdir import BzrDir
31
 
from bzrlib.pack import ContainerSerialiser
32
30
from bzrlib.smart.request import (
33
31
    FailedSmartServerResponse,
34
32
    SmartServerRequest,
351
349
    """
352
350
 
353
351
    def do_repository_request(self, repository, compression):
354
 
        from bzrlib import osutils
355
352
        tmp_dirname, tmp_repo = self._copy_to_tempdir(repository)
356
353
        try:
357
354
            controldir_name = tmp_dirname + '/.bzr'