It seems all of that code could be avoided if you had a proper deployment system.
I foolishly commented out its cronjob while working on its script, and left it commented out, so I missed some data points.
That's the problem: You edit stuff on a production machine.
Here's my understanding on how things should go:
Maybe I misunderstood what you're doing, but it seems you're only adding layers of sanity checks for non-existing deployment solutions. See also: Technical debt.
In reply to Re: assert - checking up on other scripts
by moritz
in thread assert - checking up on other scripts
by sflitman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |