Fix Darwin build and update Shared
This commit is contained in:
parent
9ba4b6a91a
commit
0ec7e7cc9e
97 changed files with 294 additions and 219 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue