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/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'freebase/__init__.py') diff --git a/freebase/__init__.py b/freebase/__init__.py index 3cca4ff..6df7d0c 100755 --- a/freebase/__init__.py +++ b/freebase/__init__.py @@ -5,7 +5,7 @@ import sandbox __all__ = ["HTTPMetawebSession", "sandbox"] -base = HTTPMetawebSession("freebase.com") +_base = HTTPMetawebSession("freebase.com") # we want to add base's functions to __init__.py # so that we can say freebase.func() and really @@ -16,11 +16,11 @@ base = HTTPMetawebSession("freebase.com") # a world in and of itself 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