def getURL(): if system.region() != "jp": return "http://va.walbrix.net/index-%s.xml" % system.region() #else return "http://va.walbrix.net/index.xml"
def r(resources): region = system.region() if region in resources: return resources[region] # else return resources.values()[0]