I'm trying to upgrade pylint to latest so we can enjoy latest fixeslike this:Now we have some new errors, please check.************* Module vdsm.clientIF E:588,16: Possible unbalanced tuple unpacking with sequence: left side has 2 label(s), right side has 0 value(s) (unbalanced-tuple-unpacking)587 if eventid == libvirt.VIR_DOMAIN_EVENT_ID_LIFECYCLE: 588 event, detail = args[:-1] 589 v.onLibvirtLifecycleEvent( event, detail, None) Code is indeed incorrect, should be:event, detail = args[:2]E:593,16: Possible unbalanced tuple unpacking with sequence: left side has 1 label(s), right side has 0 value(s) (unbalanced-tuple-unpacking) E:596,16: Possible unbalanced tuple unpacking with sequence: left side has 4 label(s), right side has 0 value(s) (unbalanced-tuple-unpacking) E:599,16: Possible unbalanced tuple unpacking with sequence: left side has 5 label(s), right side has 0 value(s) (unbalanced-tuple-unpacking) E:610,16: Possible unbalanced tuple unpacking with sequence: left side has 1 label(s), right side has 0 value(s) (unbalanced-tuple-unpacking) E:615,16: Possible unbalanced tuple unpacking with sequence: left side has 1 label(s), right side has 0 value(s) (unbalanced-tuple-unpacking) E:618,16: Possible unbalanced tuple unpacking with sequence: left side has 4 label(s), right side has 0 value(s) (unbalanced-tuple-unpacking) ************* Module vdsm.v2v E:1368,27: Instance of 'closing' has no 'read' member (no-member) ************* Module vdsm.tool.configurator E:118,12: No value for argument 'action' in function call (no-value-for-parameter) E:158,12: No value for argument 'action' in function call (no-value-for-parameter) E:193,12: No value for argument 'action' in function call (no-value-for-parameter) E:215,12: No value for argument 'action' in function call (no-value-for-parameter) ************* Module vdsm.virt.vm_migrate_hook E:199, 4: No value for argument 'domain' in function call (no-value-for-parameter) E:199, 4: No value for argument 'event' in function call (no-value-for-parameter) E:199, 4: No value for argument 'phase' in function call (no-value-for-parameter) ************* Module vdsm.network.netlink.monitor E:172,58: Instance of 'closing' has no 'poll' member (no-member)
_______________________________________________
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel