/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 breezy/plugins/stats/cmds.py

  • Committer: Breezy landing bot
  • Author(s): Martin
  • Date: 2018-11-17 17:26:21 UTC
  • mfrom: (7183.3.1 lint_E71)
  • Revision ID: breezy.the.bot@gmail.com-20181117172621-uebb7md0dtdn5d9e
Fix E71* lint errors

Mostly moving nots around and a few equality to idenity check changes.

Merged from https://code.launchpad.net/~gz/brz/lint_E71/+merge/358946

Show diffs side-by-side

added added

removed removed

Lines of Context:
311
311
            for delta in repository.get_deltas_for_revisions(revs):
312
312
                pb.update("classifying commits", i, len(revs))
313
313
                for c in classify_delta(delta):
314
 
                    if not c in ret:
 
314
                    if c not in ret:
315
315
                        ret[c] = 0
316
316
                    ret[c] += 1
317
317
                    total += 1
365
365
                    continue
366
366
                for c in set(classify_delta(delta)):
367
367
                    for author in rev.get_apparent_authors():
368
 
                        if not author in ret[c]:
 
368
                        if author not in ret[c]:
369
369
                            ret[c][author] = 0
370
370
                        ret[c][author] += 1
371
371