E714: test for object identity should be ‘is not’ Signed-off-by: Radostin Stoyanov <rstoyanov1@xxxxxxxxx> --- virtinst/progress.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/virtinst/progress.py b/virtinst/progress.py index ce763de3..0d0c372f 100644 --- a/virtinst/progress.py +++ b/virtinst/progress.py @@ -115,7 +115,7 @@ class BaseMeter: # size = None ######### TESTING self.size = size - if not size is None: + if size is not None: self.fsize = format_number(size) + 'B' if now is None: -- 2.17.2 _______________________________________________ virt-tools-list mailing list virt-tools-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/virt-tools-list