Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/versae/ipython-cypher int…
Browse files Browse the repository at this point in the history
…o devel
  • Loading branch information
versae committed Jan 26, 2015
2 parents 14cd177 + fc9730c commit c689c07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 51 deletions.
49 changes: 0 additions & 49 deletions README.md

This file was deleted.

4 changes: 2 additions & 2 deletions src/cypher/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ def interpret_stats(results):
result = '{} rows affected.'.format(len(results))
else:
result = ''
for stat, value in stats.iteritems():
for stat, value in stats.items():
if value:
result = "{}\n{} {}.".format(result, value,
stat.replace("_", " "))
Expand All @@ -444,7 +444,7 @@ def extract_params_from_query(query, user_ns):
"""
# TODO: Optmize this function
params = {}
for k, v in user_ns.iteritems():
for k, v in user_ns.items():
try:
json.dumps(v)
params[k] = v
Expand Down

0 comments on commit c689c07

Please sign in to comment.