twain47/Nominatim — pull request #3 by datendelphin (2012-04-20 14:20:26+00:00)
Title: only calculate country code for search ranks country and below

tested with http://www.openstreetmap.org/browse/node/25871341
and http://www.openstreetmap.org/browse/relation/51701