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