netcmd: Minor changes to 'group stats' command
authorTim Beale <timbeale@catalyst.net.nz>
Mon, 26 Nov 2018 22:45:51 +0000 (11:45 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 4 Dec 2018 08:17:17 +0000 (09:17 +0100)
commitb0af029504d0c8bee6d7a1976356e4ac19a52c91
treedb021db95ecc17d305567b31bfd0faeb2cee3701
parent34f4491d79b47b2fe2457b8882f11644cf773bc4
netcmd: Minor changes to 'group stats' command

These changes were inadvertently left off 0c910245fca70948a3.
(They were made to the 2nd patch-set iteration posted to the
mailing-list, but for some reason the first patch-set got delivered).

Changes are:
+ rework some variable names for better readability
+ Average members defaulted to int, so lost any floating point
precision.
+ Replace 'Min members' (which was fairly meaningless) with 'Median
members per group'.
+ Fix flake8 long line warnings

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/netcmd/group.py