Index: trunk/ippToPsps/jython/dvo.py
===================================================================
--- trunk/ippToPsps/jython/dvo.py	(revision 38951)
+++ trunk/ippToPsps/jython/dvo.py	(revision 38981)
@@ -581,4 +581,22 @@
 
           count = count + 1
+
+      self.logger.debugPair("Finished importing", tableName)
+
+      return tableName
+
+    '''
+    Imports the Photcode file
+    '''
+    def importPhotcodesOhana(self, path, tableName):
+
+      self.logger.infoPair("Importing file", "%s (%s)" % (path, self.getFileSizeStr(self.getDiskSize(path))))
+      self.logger.debugPair("Writing to database table", tableName)
+
+      ## XXX may need to do this in mysql after table is read
+      # convert the 1-char field TYPE to an int for querying ease (probably more sophisticated ways to do this...)
+      # table = stilts.tpipe(table, cmd='addcol -after TYPE TYPE_AS_INT "TYPE + 0"')
+
+      loadFITStoMYSQL (path, tableName)
 
       self.logger.debugPair("Finished importing", tableName)
