/srv/irclogs.ubuntu.com/2022/10/21/#cloud-init.txt

=== falcojr9 is now known as falcojr1
=== Guest93 is now known as skull-skrimp
=== falcojr is now known as falcojr[m]
=== falcojr1 is now known as falcojr
meenafalcojr: you think this https://gist.github.com/5824e72b26ecbde9f50f9459edb489f3 is better than before?17:05
=== Guest93 is now known as skull-skrimp
falcojrmeena: is there a reason for the change? I usually prefer dealing with exit/error codes as text output will often change and be subject to internationalization...though...that doesn't really seem relevant here, so I think it's fine...but not sure why'd we prefer this over the previous version18:34
meenafalcojr: i dunno, hence the question. is it better to compare an error string, or rip thru the stack with an exception, catch it and then continue like nothing happened20:16
meenait feels strangeā€¦ not very performant, but maybe I just don't understand python well enough20:17
meenamaybe throwing and immediately catching an exception is more akin to returning from a function for the optimiser 20:17

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!