Silly code for popping kwargs

Bug #254128 reported by John Millikin
2
Affects Status Importance Assigned to Milestone
Bazaar Diffstat Plugin
Fix Released
Low
Russ Brown

Bug Description

The code in "cmd_diff.run()" for popping the "stat" and "stat_diff" parameters is convoluted and silly. The optional default parameter to "dict.pop()" is a better solution.

Revision history for this message
John Millikin (jmillikin) wrote :
Revision history for this message
Russ Brown (pickscrape) wrote :

Yes, that is a better way to do it.

Still quite new to python... Thanks for pointing this out. :)

Changed in bzr-diffstat:
assignee: nobody → pickscrape
importance: Undecided → Low
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.