Got rid of some invalid super() calls in EditCommand.
* Moved one super() call outside the EditCommand class into a lambda function. * Made EditCommand.execute() call its correct parent execute() (was: ListCommand). However, this would go wrong: EditCommand.execute() calls MultiCommand.execute() MultiCommand.execute() calls ListCommand.execute() Because EditCommand has multiple inheritance ListCommand.execute() is successful, but returns None MultiCommand.execute() takes that as failure, returns False EditCommand.execute() returns False This is fixed by adding return True to the execute() method of the parent classes. This fixes all pylint errors.
Showing
Please register or sign in to comment