Changeset

4240:b3d9063aad4d

tools/migration/prosody-migrator.lua: Add messages to show when migration is in progress
author Matthew Wild <mwild1@gmail.com>
date Tue, 05 Apr 2011 14:34:06 +0100
parents 4239:69fe5fd861e7
children 4241:49b9e73e31ef
files tools/migration/prosody-migrator.lua
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tools/migration/prosody-migrator.lua	Tue Apr 05 14:11:25 2011 +0100
+++ b/tools/migration/prosody-migrator.lua	Tue Apr 05 14:34:06 2011 +0100
@@ -125,9 +125,10 @@
 
 local json = require "util.json";
 
+io.stderr:write("Migrating...\n");
 for x in reader do
 	--print(json.encode(x))
 	writer(x);
 end
 writer(nil); -- close
-
+io.stderr:write("Done!\n");