From e31e6952793325f4c4a58c20a55c4c2d0a03b9e0 Mon Sep 17 00:00:00 2001
From: Christian Pointner <equinox@helsinki.at>
Date: Fri, 29 Jul 2016 03:04:26 +0200
Subject: slightly improved telnet output


diff --git a/src/rhimportd/ctrlTelnet.go b/src/rhimportd/ctrlTelnet.go
index 1339a81..eb8d39a 100644
--- a/src/rhimportd/ctrlTelnet.go
+++ b/src/rhimportd/ctrlTelnet.go
@@ -293,13 +293,14 @@ func telnetRun(c *telgo.Client, args []string, conf *rhimport.Config, db *rddb.D
 		return false
 	}
 	ctx := c.UserData.(*rhimport.Context)
+	c.Sayln("starting import from '%s'", ctx.SourceUri)
 
 	id, s, code, errstring := sessions.New(ctx, "")
 	if code != http.StatusOK {
 		c.Sayln("creating session failed: %s", errstring)
 		return false
 	}
-	c.Sayln("got session id: %s", id)
+	c.Sayln(" * got session id: %s", id)
 
 	donechan := make(chan rhimport.Result, 1)
 	if err := s.AddDoneHandler((chan<- rhimport.Result)(donechan), telnetDoneCallback); err != nil {
@@ -313,7 +314,6 @@ func telnetRun(c *telgo.Client, args []string, conf *rhimport.Config, db *rddb.D
 		return false
 	}
 
-	c.Sayln("starting import from '%s'", ctx.SourceUri)
 	s.Run(0)
 
 	currentStep := 0
-- 
cgit v0.10.2