getting .../poms/current/poms/current/cron/... in crontab (which doesn't work)
So basically, I updated some code to make poms installable via setup.py; which
included a local poms->. symlink, so things get imported as "import poms.webservice.xxx"
and so forth. Also added a index.py to set POMS_DIR, so we would work if we were
not setup via UPS. However, this ended up setting POMS_DIR to:
(where the last "poms" is via the symlink). This means further that the code that tried
to convert the previous
by finding the rightmost "poms" and replacing what came after it, was confused, since
the rightmost poms was at the end now...
So a little fix in fc02d62d, we search for the "rightmost" poms except for at the very end of the string, by limiting us to the length of the string minus 1...