summaryrefslogtreecommitdiff
path: root/freebase/sandbox.py
diff options
context:
space:
mode:
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