calendar/timezones/version.py
author aleth <aleth@instantbird.org>
Mon, 11 Apr 2016 00:44:36 +0200
changeset 25482 b76b3ff1b8303294858f3b8c3fc56f183dc920e8
parent 22418 ab1b861da0f2f89182e9cc8c14c77e1806eb56d6
permissions -rwxr-xr-x
Backed out changeset 79b497d14c8a (Bug 1261643) to match m-c, package-manifest part. rs=bustage-fix CLOSED TREE

#!/usr/bin/python
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
import json, os.path

json_file = os.path.join(os.path.dirname(os.path.realpath(__file__)), "zones.json")

with open(json_file, "r") as fp:
    data = json.load(fp)
    print data["version"]