~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Jelmer Vernooij
  • Date: 2009-03-28 14:24:46 UTC
  • mfrom: (4211 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4212.
  • Revision ID: jelmer@samba.org-20090328142446-vqi0ksswdurga631
Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
#
13
13
# You should have received a copy of the GNU General Public License
14
14
# along with this program; if not, write to the Free Software
15
 
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
15
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
16
 
17
17
"""Exceptions for bzr, and reporting of them.
18
18
"""
2309
2309
        self.transport = transport
2310
2310
 
2311
2311
 
2312
 
class NoSmartServer(NotBranchError):
2313
 
 
2314
 
    _fmt = "No smart server available at %(url)s"
2315
 
 
2316
 
    @symbol_versioning.deprecated_method(symbol_versioning.one_four)
2317
 
    def __init__(self, url):
2318
 
        self.url = url
2319
 
 
2320
 
 
2321
2312
class UnknownSSH(BzrError):
2322
2313
 
2323
2314
    _fmt = "Unrecognised value for BZR_SSH environment variable: %(vendor)s"