Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'master' of github.com:gawel/tweeql2solr

  • Loading branch information...
commit 170a7dba5fb5cee69368a88996ff97278e903930 2 parents 9878b4a + 1011c93
Gael Pasgrimaud authored
Showing with 3 additions and 2 deletions.
  1. +2 −1  tweeql2solr/patch.py
  2. +1 −1  tweeql2solr/scripts.py
3  tweeql2solr/patch.py
View
@@ -3,6 +3,7 @@
import pysolr
import config
import utils
+import sys
ALIASES = dict(
text='title',
@@ -50,7 +51,7 @@ def handle_statuses(self, statuses):
if cleaned_dicts:
if config.DEBUG:
- print cleaned_dicts
+ print >> sys.stderr, cleaned_dicts
try:
self.conn.add(cleaned_dicts)
except AttributeError, e:
2  tweeql2solr/scripts.py
View
@@ -63,6 +63,6 @@ def main():
from %(table)s
%(where)s;''' % params
if config.DEBUG:
- print ' ', query
+ print >> sys.stderr, ' ', query
runner.run_query(query, False)
Please sign in to comment.
Something went wrong with that request. Please try again.