summaryrefslogtreecommitdiff
path: root/metaweb-py
diff options
context:
space:
mode:
authorkientzle <kientzle@5914aa95-5b3a-0410-a3b5-7b719e7fe9b2>2008-03-18 18:49:15 +0000
committerkientzle <kientzle@5914aa95-5b3a-0410-a3b5-7b719e7fe9b2>2008-03-18 18:49:15 +0000
commit10728e842067890da29ca80d3a2a4addcfc2d416 (patch)
tree39b0ef6ef127ee9df8049305f2228a89150e008f /metaweb-py
parente1c531970715bcb496299e2162c603cadcbc0a5f (diff)
Style: Remove some unnecessary semicolons.
git-svn-id: http://freebase-python.googlecode.com/svn/trunk@37 5914aa95-5b3a-0410-a3b5-7b719e7fe9b2
Diffstat (limited to 'metaweb-py')
-rw-r--r--metaweb-py/metaweb.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/metaweb-py/metaweb.py b/metaweb-py/metaweb.py
index 65624e7..d651332 100644
--- a/metaweb-py/metaweb.py
+++ b/metaweb-py/metaweb.py
@@ -91,7 +91,7 @@ def read(q, credentials=None):
raise MQLError('%s: %s' % (error['code'], error['message']))
# If there was no error, then just return the result from the envelope
- return inner['result'];
+ return inner['result']
# Submit the MQL query q and return the result as a Python object
# This function behaves like read() above, but uses cursors so that
@@ -135,7 +135,7 @@ def readall(q, credentials=None):
raise MQLError('%s: %s' % (error['code'], error['message']))
# Append this batch of results to the main array of results.
- results.extend(inner['result']);
+ results.extend(inner['result'])
# Finally, get the new value of the cursor for the next iteration
cursor = inner['cursor']