# - - - r e p o r t
def check ( db ):
'''Display regions by nation.
[ sys.stdout +:= report showing nation and region
tables from db ]
'''
for nation in db.genNations():
print "\n=====", nation.nation_name
for region in nation.regions:
print " ", region.reg_code, region.reg_name
print "\n===== physiographic strata"
for physio in db.genPhysios():
print physio.physio_code, physio.physio_name