~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/lazy_import.py

  • Committer: Martin Pool
  • Date: 2008-05-08 04:12:06 UTC
  • mto: This revision was merged to the branch mainline in revision 3415.
  • Revision ID: mbp@sourcefrog.net-20080508041206-tkrr8ucmcyrlzkum
Some review cleanups for assertion removal

Show diffs side-by-side

added added

removed removed

Lines of Context:
260
260
        :param import_str: The import string to process
261
261
        """
262
262
        if not import_str.startswith('import '):
263
 
            raise ValueError('bad import string %r'
264
 
                % (import_str,))
 
263
            raise ValueError('bad import string %r' % (import_str,))
265
264
        import_str = import_str[len('import '):]
266
265
 
267
266
        for path in import_str.split(','):