po: guard against reimportation
authorJoey Hess <joey@kitenet.net>
Thu, 13 May 2010 20:28:09 +0000 (16:28 -0400)
committerJoey Hess <joey@kitenet.net>
Thu, 13 May 2010 20:28:09 +0000 (16:28 -0400)
commit031da9c134fca2c6d689f343ac0b4a537b4cfd15
treed3fb36c7d65e3b4dfac85989330595648abc4b62
parent3f2f447cb57acbcf2bf767c19160426a5efe5d75
po: guard against reimportation

If po is imported twice, bad things happen. Guard against that.

I'm not sure what causes the double import; I saw it when websetup did a
wiki rebuild. Carp failed to show a backtrace for the second call to
import.
IkiWiki/Plugin/po.pm