aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmove-postjournal2
1 files changed, 2 insertions, 0 deletions
diff --git a/move-postjournal b/move-postjournal
index 5da04eb..b7f09a7 100755
--- a/move-postjournal
+++ b/move-postjournal
@@ -144,6 +144,7 @@ def insert_entry(dbcursor, entry):
def populate_from_scraper_real(dbcursor, scraper, limit):
lastscrapestamputc = ''
sys.stdout.write(scraper + ": ")
+ sys.stdout.flush()
if True:
try:
sql = "SELECT MAX(scrapestamputc) FROM %s WHERE scraper = '%s'" % (dbtable, scraper)
@@ -186,6 +187,7 @@ def populate_from_scraper_real(dbcursor, scraper, limit):
connection.close()
sys.stdout.write("Adding/updating " + str(len(data)) + " " + status + " entries (" + lastscrapestamputc + ")")
+ sys.stdout.flush()
skipped = 0
for entry in data: