~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/log.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-09-09 18:02:00 UTC
  • mfrom: (1963.2.7 bzr.dev.no_has_key)
  • Revision ID: pqm@pqm.ubuntu.com-20060909180200-96e41112dff213f3
(robey) remove hasattr and == None in favor of getattr() and is None

Show diffs side-by-side

added added

removed removed

Lines of Context:
364
364
            message = rev.message.rstrip('\r\n')
365
365
            for l in message.split('\n'):
366
366
                print >>to_file,  indent+'  ' + l
367
 
        if delta != None:
 
367
        if delta is not None:
368
368
            delta.show(to_file, self.show_ids)
369
369
 
370
370
 
390
390
 
391
391
        # TODO: Why not show the modified files in a shorter form as
392
392
        # well? rewrap them single lines of appropriate length
393
 
        if delta != None:
 
393
        if delta is not None:
394
394
            delta.show(to_file, self.show_ids)
395
395
        print >>to_file, ''
396
396