~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/bundle/__init__.py

  • Committer: Patch Queue Manager
  • Date: 2011-09-08 11:01:15 UTC
  • mfrom: (6123.1.16 gpg-typo)
  • Revision ID: pqm@cupuasso-20110908110115-gbb9benwkdksvzk5
(jelmer) Fix a typo (invalid format identifier) in an error message in
 bzrlib.gpg. (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
    )
26
26
from bzrlib.bundle import serializer as _serializer
27
27
from bzrlib.merge_directive import MergeDirective
28
 
from bzrlib.i18n import gettext
29
28
""")
30
29
from bzrlib.trace import note
31
30
 
54
53
        url, filename = urlutils.split(exception.target,
55
54
                                       exclude_trailing_slash=False)
56
55
        if not filename:
57
 
            raise errors.NotABundle(gettext('A directory cannot be a bundle'))
 
56
            raise errors.NotABundle('A directory cannot be a bundle')
58
57
        return _mod_transport.get_transport_from_url(url)
59
58
 
60
59
    try: