Permalink
Browse files

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

  • Loading branch information...
2 parents 9878b4a + 1011c93 commit 170a7dba5fb5cee69368a88996ff97278e903930 @gawel committed Jun 1, 2011
Showing with 3 additions and 2 deletions.
  1. +2 −1 tweeql2solr/patch.py
  2. +1 −1 tweeql2solr/scripts.py
View
3 tweeql2solr/patch.py
@@ -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:
View
2 tweeql2solr/scripts.py
@@ -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)

0 comments on commit 170a7db

Please sign in to comment.