Index: trunk/tools/czartool/Gpc1Db.pm
===================================================================
--- trunk/tools/czartool/Gpc1Db.pm	(revision 30916)
+++ trunk/tools/czartool/Gpc1Db.pm	(revision 30917)
@@ -11,5 +11,5 @@
 ###########################################################################
 #
-# Returns the right join table and ID to join on for for a given stage TODO make private
+# Returns the right join table and ID to join on for for a given stage
 #
 ###########################################################################
@@ -28,7 +28,8 @@
     elsif ($stage eq "magicDS") {${$id} = "magic_ds_id"; ${$joinTable}="magicDSFile";}
     elsif ($stage eq "dist") {${$joinTable}="distComponent";}
+    elsif ($stage eq "pub") {${$joinTable}="publishDone";}
     else {
 
-        print "* ERROR: could nod find joinTable and ID for '$stage' stage\n";
+        print "* ERROR: could not find joinTable and ID for '$stage' stage\n";
         return 0;
     }
@@ -39,5 +40,5 @@
 ###########################################################################
 #
-# Returns the right table for a given stage TODO make private
+# Returns the right table for a given stage
 #
 ###########################################################################
@@ -54,4 +55,5 @@
     elsif ($stage eq "magicDS" ) {return "magicDSRun";}
     elsif ($stage eq "dist" ) {return "distRun";}
+    elsif ($stage eq "pub" ) {return "publishRun";}
 
     return "ERROR";
