Updating to Python3 - relative import: implicit to explicit

This commit is contained in:
Pat Ferate
2014-07-03 08:08:13 -07:00
parent 77bfef34de
commit b706901a22
6 changed files with 11 additions and 11 deletions

View File

@@ -21,7 +21,7 @@ an OAuth 2.0 protected service.
__author__ = 'jcgregorio@google.com (Joe Gregorio)' __author__ = 'jcgregorio@google.com (Joe Gregorio)'
from anyjson import simplejson from oauth2client.anyjson import simplejson
# Properties that make a client_secrets.json file valid. # Properties that make a client_secrets.json file valid.
TYPE_WEB = 'web' TYPE_WEB = 'web'

View File

@@ -20,7 +20,7 @@ import hashlib
import logging import logging
import time import time
from anyjson import simplejson from oauth2client.anyjson import simplejson
CLOCK_SKEW_SECS = 300 # 5 minutes in seconds CLOCK_SKEW_SECS = 300 # 5 minutes in seconds

View File

@@ -24,9 +24,9 @@ import os
import stat import stat
import threading import threading
from anyjson import simplejson from oauth2client.anyjson import simplejson
from client import Storage as BaseStorage from oauth2client.client import Storage as BaseStorage
from client import Credentials from oauth2client.client import Credentials
class CredentialsFileSymbolicLinkError(Exception): class CredentialsFileSymbolicLinkError(Exception):

View File

@@ -22,8 +22,8 @@ __author__ = 'jcgregorio@google.com (Joe Gregorio)'
import keyring import keyring
import threading import threading
from client import Storage as BaseStorage from oauth2client.client import Storage as BaseStorage
from client import Credentials from oauth2client.client import Credentials
class Storage(BaseStorage): class Storage(BaseStorage):

View File

@@ -49,11 +49,11 @@ import logging
import os import os
import threading import threading
from anyjson import simplejson from oauth2client.anyjson import simplejson
from oauth2client.client import Storage as BaseStorage from oauth2client.client import Storage as BaseStorage
from oauth2client.client import Credentials from oauth2client.client import Credentials
from oauth2client import util from oauth2client import util
from locked_file import LockedFile from oauth2client.locked_file import LockedFile
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)

View File

@@ -25,8 +25,8 @@ import gflags
from oauth2client import client from oauth2client import client
from oauth2client import util from oauth2client import util
from tools import ClientRedirectHandler from oauth2client.tools import ClientRedirectHandler
from tools import ClientRedirectServer from oauth2client.tools import ClientRedirectServer
FLAGS = gflags.FLAGS FLAGS = gflags.FLAGS