print "Valor atual: " + contribuinte.get_contribuinte(sys.argv[2])
print "Salvando..."
contribuinte.save()
+ elif len(sys.argv) == 3:
+ campo = sys.argv[2]
+ valor = contribuinte.get_contribuinte(campo)
+ if valor:
+ print ("Valor de " + campo + ": " + valor)
+ else:
+ print ("Campo " + campo + " retornou vazio")
else:
print "\nCONTRIBUINTE:"
for i in contribuinte_attributes: