From 2168ea57db06bb63a2bf64ab06210720b9a32f8d Mon Sep 17 00:00:00 2001
From: Monika Komorowska <mk8@sanger.ac.uk>
Date: Mon, 9 Jan 2012 14:46:34 +0000
Subject: [PATCH] bug fix

---
 .../xref_mapping/XrefParser/VegaOfficialNameParser.pm         | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/misc-scripts/xref_mapping/XrefParser/VegaOfficialNameParser.pm b/misc-scripts/xref_mapping/XrefParser/VegaOfficialNameParser.pm
index a94bb18ccf..1e659ff981 100644
--- a/misc-scripts/xref_mapping/XrefParser/VegaOfficialNameParser.pm
+++ b/misc-scripts/xref_mapping/XrefParser/VegaOfficialNameParser.pm
@@ -112,7 +112,7 @@ sub run_script {
   my $core_dbc;
 
   if(defined($vdbname)){
-    print "Using $host $vdbname for Vega and $cdbname for Core\n";
+    print "Using $vhost $vdbname for Vega and $cdbname for Core\n";
     my $vega_db =  XrefParser::Database->new({ host   => $vhost,
 					       port   => $vport,
 					       user   => $vuser,
@@ -130,7 +130,7 @@ sub run_script {
 					       dbname => $cdbname,
 					       pass   => $cpass});
 
-    my $core_dbc = $core_db->dbi();
+    $core_dbc = $core_db->dbi();
     if(!defined($core_dbc)){
       print "Problem could not open connectipn to $chost, $cport, $cuser, $cdbname, $cpass\n";
       return 1;
-- 
GitLab