summaryrefslogtreecommitdiff
path: root/freebase/__init__.py
diff options
context:
space:
mode:
authornitromaster101 <nitromaster101@5914aa95-5b3a-0410-a3b5-7b719e7fe9b2>2009-06-18 00:40:17 +0000
committernitromaster101 <nitromaster101@5914aa95-5b3a-0410-a3b5-7b719e7fe9b2>2009-06-18 00:40:17 +0000
commit0c9fbd67b05112e43fe86bd634b155bd07a8f9b2 (patch)
treeb23dc25c8e6f9c46b96965233f94a5270aa7ed37 /freebase/__init__.py
parenta204245ad0186b565c527a764efa682de9a0c7fc (diff)
added uri upload
git-svn-id: http://freebase-python.googlecode.com/svn/trunk@96 5914aa95-5b3a-0410-a3b5-7b719e7fe9b2
Diffstat (limited to 'freebase/__init__.py')
-rwxr-xr-xfreebase/__init__.py6
1 files changed, 3 insertions, 3 deletions
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