/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/plugin.py

  • Committer: Daniel Watkins
  • Date: 2007-11-13 01:49:34 UTC
  • mto: This revision was merged to the branch mainline in revision 2984.
  • Revision ID: d.m.watkins@warwick.ac.uk-20071113014934-a0p3t1i9nfrsci40
Fixed message.

Show diffs side-by-side

added added

removed removed

Lines of Context:
192
192
            ## import pdb; pdb.set_trace()
193
193
            if re.search('\.|-| ', name):
194
194
                sanitised_name = re.sub('[-. ]', '_', name)
195
 
                warning("Unable to load %r in %r as a plugin because this isn't"
196
 
                        " a valid module name; try renaming it to %r."
 
195
                warning("Unable to load %r in %r as a plugin because file path"
 
196
                        " isn't a valid module name; try renaming it to %r."
197
197
                        % (name, d, sanitised_name))
198
198
            else:
199
199
                warning('Unable to load plugin %r from %r' % (name, d))