Skip to content

Commit

Permalink
Fixed pylints
Browse files Browse the repository at this point in the history
  • Loading branch information
szabozo0 committed Sep 26, 2012
1 parent c364fdd commit eb5da62
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion eea/sparql/browser/sparql.py
Expand Up @@ -247,7 +247,7 @@ class SparqlBookmarksFolder(Sparql):
def getBookmarks(self):
"""Get list of bookmarks and check if needs to be updated"""
results = self.test_query()
queries = results['data'].get('rows',[])
queries = results['data'].get('rows', [])
bookmarks = {}
bookmarks['data'] = []
bookmarks['arg_spec'] = results['arg_spec']
Expand Down
1 change: 1 addition & 0 deletions eea/sparql/tests/mock_server.py
Expand Up @@ -25,6 +25,7 @@ def do_POST(self):
sys.stdout = stdout

def do_GET(self):
""" GET"""
return self.do_POST()

if __name__ == "__main__":
Expand Down

0 comments on commit eb5da62

Please sign in to comment.