Commit ae06b60c authored by muris2016's avatar muris2016
Browse files

Pasado por pep8

parent 39c16309
......@@ -22,8 +22,7 @@ class Calculadora:
def do_operation(calc, operation, op1, op2):
try:
return calc.operating(calc.operations[operation],
op1, op2)
return calc.operating(calc.operations[operation], op1, op2)
except KeyError:
sys.exit("Not allowed operation " + operation)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment