Fix Darwin build and update Shared

This commit is contained in:
j 2014-09-30 22:25:10 +02:00
commit 0ec7e7cc9e
97 changed files with 294 additions and 219 deletions

View file

@ -1,6 +1,7 @@
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4
# GPL 2009
from __future__ import print_function
import os
from ox.utils import json
@ -15,7 +16,7 @@ def get(key):
auth = json.loads(data)
if key in auth:
return auth[key]
print "please add key %s to json file '%s'" % (key, user_auth)
print("please add key %s to json file '%s'" % (key, user_auth))
raise Exception,"no key %s found" % key
def update(key, value):