summaryrefslogtreecommitdiff
path: root/freebase
diff options
context:
space:
mode:
Diffstat (limited to 'freebase')
-rwxr-xr-xfreebase/fcl/commands.py4
-rwxr-xr-xfreebase/fcl/fcl.py4
2 files changed, 2 insertions, 6 deletions
diff --git a/freebase/fcl/commands.py b/freebase/fcl/commands.py
index c6acbb3..1be79e8 100755
--- a/freebase/fcl/commands.py
+++ b/freebase/fcl/commands.py
@@ -330,12 +330,8 @@ def cmd_shell(fb):
graphs = {
'http://trunk.qa.metaweb.com':'qa',
'http://branch.qa.metaweb.com':'qa',
- 'http://www.freebase.com':'otg',
'http://api.freebase.com':'otg',
- 'http://freebase.com':'otg',
- 'http://www.sandbox-freebase.com':'sandbox',
'http://api.sandbox-freebase.com':'sandbox',
- 'http://sandbox-freebase.com':'sandbox'
}
gname = graphs.get(fb.mss.service_url, 'unknown')
diff --git a/freebase/fcl/fcl.py b/freebase/fcl/fcl.py
index 3ba60d2..1cedc90 100755
--- a/freebase/fcl/fcl.py
+++ b/freebase/fcl/fcl.py
@@ -75,7 +75,7 @@ class Command(object):
class FclCommandHandler(object):
def __init__(self):
- self.service_host = 'www.freebase.com'
+ self.service_host = 'api.freebase.com'
self.cookiejar = None
self.pwd = '/'
self.progpath = 'fcl'
@@ -275,7 +275,7 @@ class FclCommandHandler(object):
log.setLevel(loglevel)
if options.use_sandbox:
- self.service_host = 'sandbox-freebase.com'
+ self.service_host = 'api.sandbox-freebase.com'
else:
self.service_host = options.service_host