src/hg/encode/encodeMkChangeNotes/encodeMkChangeNotes 1.12

1.12 2010/04/12 18:45:53 krish
fixed double counting bug
Index: src/hg/encode/encodeMkChangeNotes/encodeMkChangeNotes
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/encode/encodeMkChangeNotes/encodeMkChangeNotes,v
retrieving revision 1.11
retrieving revision 1.12
diff -b -B -U 4 -r1.11 -r1.12
--- src/hg/encode/encodeMkChangeNotes/encodeMkChangeNotes	12 Apr 2010 17:22:43 -0000	1.11
+++ src/hg/encode/encodeMkChangeNotes/encodeMkChangeNotes	12 Apr 2010 18:45:53 -0000	1.12
@@ -302,8 +302,9 @@
             file, extension = f.split(".", 1)
         else:
             file = f
         if table_exists(database, file):
+            if file not in new_tables_list:     # make sure table is already in our list
             new_tables_list.append(file)
             gbdb_path = get_gbdb_pathname(database, file)
             if gbdb_path != None and os.path.exists(gbdb_path):
                 new_gbdbs_list.append(gbdb_path)