summaryrefslogtreecommitdiff
path: root/freebase/sandbox.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/sandbox.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/sandbox.py')
-rw-r--r--freebase/sandbox.py6
1 files changed, 3 insertions, 3 deletions
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