From 0c9fbd67b05112e43fe86bd634b155bd07a8f9b2 Mon Sep 17 00:00:00 2001 From: nitromaster101 Date: Thu, 18 Jun 2009 00:40:17 +0000 Subject: added uri upload git-svn-id: http://freebase-python.googlecode.com/svn/trunk@96 5914aa95-5b3a-0410-a3b5-7b719e7fe9b2 --- freebase/sandbox.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'freebase/sandbox.py') diff --git a/freebase/sandbox.py b/freebase/sandbox.py index 2d11be2..0bf3811 100644 --- a/freebase/sandbox.py +++ b/freebase/sandbox.py @@ -30,7 +30,7 @@ import sys from freebase.api.session import HTTPMetawebSession -base = HTTPMetawebSession("sandbox.freebase.com") +_base = HTTPMetawebSession("sandbox.freebase.com") __all__ = ["HTTPMetawebSession"] @@ -41,11 +41,11 @@ __all__ = ["HTTPMetawebSession"] # a little trick to refer to ourselves self = sys.modules[__name__] -for funcname in dir(base): +for funcname in dir(_base): # we only want the 'real' functions if not funcname.startswith("_"): - func = getattr(base, funcname) + func = getattr(_base, funcname) # let's make sure we're getting functions # instead of constants or whatever -- cgit v1.3.1