calendar/timezones/version.py
author Clemens <clemens@gorilla-computing.de>
Mon, 12 Mar 2018 17:44:46 +0100
changeset 30466 9b22a733b765b9a50133661fdccba4e01c3d91de
parent 21878 ab1b861da0f2f89182e9cc8c14c77e1806eb56d6
permissions -rwxr-xr-x
Bug 321434 - Location does not appear in multiday view event box. r/a=philipp MozReview-Commit-ID: 4BbeOscF0ec

#!/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"]