Index: branch/ggpolo/umitDB/Store.py
===================================================================
--- branch/ggpolo/umitDB/Store.py (revision 1400)
+++ branch/ggpolo/umitDB/Store.py (revision 1431)
@@ -55,6 +55,4 @@
                     scan_d["hosts_down"], scan_d["scanner"]))
 
-        self.conn.commit()
-
     
     def insert_scaninfo_db(self, scaninfo):
@@ -69,5 +67,4 @@
                         scaninfo["services"], scaninfo["fk_scan"],
                         scaninfo["type"], scaninfo["protocol"]))
-        self.conn.commit()
 
 
@@ -80,5 +77,4 @@
         self.cursor.execute("INSERT INTO scan_type (name) VALUES \
                                  (?)", (scan_name, ))
-        self.conn.commit()
 
 
@@ -91,5 +87,4 @@
         self.cursor.execute("INSERT INTO scanner (name, version) VALUES \
                                  (?, ?)", (scanner_name, scanner_version))
-        self.conn.commit()
         
 
@@ -105,5 +100,4 @@
                        (portid, service_info_id, protocol_id,
                         port_state_id))
-        self.conn.commit()
             
     
@@ -116,5 +110,4 @@
         self.cursor.execute("INSERT INTO port_state (state) VALUES \
                                 (?)", (port_state, ))
-        self.conn.commit()
     
     
@@ -127,5 +120,4 @@
         self.cursor.execute("INSERT INTO protocol (name) VALUES \
                                  (?)", (protocol, ))
-        self.conn.commit()
         
     
@@ -138,5 +130,4 @@
         self.cursor.execute("INSERT INTO _host_port (fk_host, fk_port) \
                     VALUES (?, ?)", (fk_host, fk_port))
-        self.conn.commit()
         
 
@@ -150,5 +141,4 @@
                             fk_port_state) VALUES (?, ?, ?)",
                             (count, fk_host, fk_port_state))
-        self.conn.commit()
 
 
@@ -163,5 +153,4 @@
                         fk_protocol, fk_host) VALUES (?, ?, ?, ?)",
                         (portid, fk_port_state, fk_protocol, fk_host))
-        self.conn.commit()
 
 
@@ -177,5 +166,4 @@
                         (?, ?, ?, ?, ?, ?)", (osclass_accuracy, fk_osgen,
                         fk_osfamily, fk_osvendor, fk_ostype, fk_host))
-        self.conn.commit()
 
    
@@ -190,5 +178,4 @@
                     fk_host) VALUES (?, ?, ?, ?)", (osmatch["name"], 
                     osmatch["accuracy"], osmatch["line"], host))
-        self.conn.commit()
         
         
@@ -200,5 +187,5 @@
         
         self.cursor.execute("INSERT INTO osgen (gen) VALUES (?)", (osgen, ))
-        self.conn.commit()
+
         
     def insert_osfamily_db(self, osfamily):
@@ -210,5 +197,4 @@
         self.cursor.execute("INSERT INTO osfamily (family) VALUES (?)", 
                         (osfamily, ))
-        self.conn.commit()
             
 
@@ -221,5 +207,4 @@
         self.cursor.execute("INSERT INTO osvendor (vendor) VALUES (?)", 
                         (osvendor, ))
-        self.conn.commit()
 
     
@@ -232,5 +217,4 @@
         self.cursor.execute("INSERT INTO ostype (type) VALUES (?)", 
                         (ostype, ))
-        self.conn.commit()
         
 
@@ -244,5 +228,4 @@
                      fk_host_state) VALUES (?, ?, ?)", (host_d["distance"],
                      host_d["fk_scan"], host_d["fk_host_state"]))
-        self.conn.commit()
 
 
@@ -255,5 +238,4 @@
         self.cursor.execute("INSERT INTO _host_address (fk_host, fk_address) \
                             VALUES (?, ?)", (fk_host, fk_address))
-        self.conn.commit()
 
 
@@ -267,5 +249,4 @@
                                 fk_hostname) VALUES (?, ?)", (fk_host, 
                                 fk_hostname))
-        self.conn.commit()
     
     
@@ -279,5 +260,4 @@
                                  (?, ?)", (hostname["hostname_type"], 
                                            hostname["hostname"]))
-        self.conn.commit()
    
 
@@ -302,5 +282,4 @@
                 ip_id_sequence_value, fk_host) VALUES (?, ?, ?, ?, ?, ?, ?, \
                 ?, ?, ?, ?)", (data))
-        self.conn.commit()
 
     
@@ -313,5 +292,4 @@
         self.cursor.execute("INSERT INTO service_name (name) VALUES \
                             (?)", (service_name, ))
-        self.conn.commit()
         
         
@@ -325,5 +303,4 @@
                     extrainfo, method, conf, fk_service_name) VALUES (?, ?, ?,\
                     ?, ?, ?)", service_data)
-        self.conn.commit()
         
     
@@ -337,5 +314,4 @@
                         fk_vendor) VALUES (?, ?, ?)", (address_addr,
                         address_type, vendor))
-        self.conn.commit()
 
     
@@ -348,5 +324,4 @@
         self.cursor.execute("INSERT INTO vendor (name) \
                                          VALUES (?)", (vendor_name, ))
-        self.conn.commit()
 
         
@@ -359,5 +334,4 @@
         self.cursor.execute("INSERT INTO host_state (state) \
                         VALUES (?)", (host_state, ))
-        self.conn.commit()
 
 
@@ -372,5 +346,4 @@
                         tcpseq_dict["index"], tcpseq_dict["class"], 
                         tcpseq_dict["difficulty"], tcpseq_dict["values"]))
-        self.conn.commit()
 
 
@@ -385,5 +358,4 @@
                       tcp_ts_values)  VALUES (?, ?)", (tcptsseq_dict["class"], 
                       tcptsseq_dict["values"]))
-        self.conn.commit()
 
 
@@ -397,5 +369,4 @@
                       ip_id_values)  VALUES (?, ?)", (ipidseq_dict["class"], 
                       ipidseq_dict["values"]))
-        self.conn.commit()
 
 
@@ -408,5 +379,4 @@
         self.cursor.execute("INSERT INTO inventory (name) VALUES (?)", 
                     (inventory, ))
-        self.conn.commit()
         
     
@@ -419,5 +389,4 @@
         self.cursor.execute("INSERT INTO _inventory_scan (fk_scan, \
                     fk_inventory) VALUES (?, ?)", (scan, inventory))
-        self.conn.commit()
         
         
@@ -431,5 +400,4 @@
         self.cursor.execute("INSERT INTO inventory_change_category (name) \
                              VALUES (?)", (category, ))
-        self.conn.commit()
         
     
@@ -448,4 +416,3 @@
                                                       short_descr, fk_inventory,
                                                       fk_category, fk_address))
-        self.conn.commit()
-         
+
