Switch to side-by-side view

--- a/OSSEval/OpenSourceProject/flossmole.py
+++ b/OSSEval/OpenSourceProject/flossmole.py
@@ -5,8 +5,6 @@
 # OSSeval is powered by the SOS Open Source AGPL edition.
 #  The AGPL requires that you do not remove the SOS Open Source attribution and copyright 
 #  notices from the user interface (see section 5.d below).
-#  Commercial licenses are available and do not require any SOS Open Source attributions
-#  or visible copyright notices but they are not permitted under this license.
 
 # OSSEval Copyright 2014 Bitergium SLL
 # SOS Open Source Copyright 2012 Roberto Galoppini
@@ -23,7 +21,7 @@
     @staticmethod
     def search(name):
         project_list = []
-        cursor = connections['local_flossmole'].cursor()
+        cursor = connections['flossmole'].cursor()
         parameters = { 'limit': Configuration.max_number_of_records } 
         cursor.execute("SELECT proj_unixname, datasource_id, proj_long_name, desc_long FROM fsf_projects WHERE LOWER(proj_unixname) LIKE '%%" + name.lower() + "%%' LIMIT %(limit)s", parameters)
         results = cursor.fetchall()
@@ -40,7 +38,7 @@
     @staticmethod
     def getProjectInfo(project_identifier):
         info = {}
-        cursor = connections['local_flossmole'].cursor()
+        cursor = connections['flossmole'].cursor()
         cursor.execute("SELECT max(datasource_id) FROM fsf_projects")
         row = cursor.fetchone()
         datasource_id = row[0]
@@ -93,7 +91,7 @@
     @staticmethod
     def search(name):
         project_list = []
-        cursor = connections['local_flossmole'].cursor()
+        cursor = connections['flossmole'].cursor()
         parameters = { 'name': name, 'limit': Configuration.max_number_of_records } 
         cursor.execute("SELECT project_id, datasource_id, projectname_full, desc_short FROM fm_projects WHERE LOWER(projectname_full) LIKE '%%" + name.lower() + "%%' LIMIT %(limit)s", parameters)
         results = cursor.fetchall()
@@ -109,7 +107,7 @@
     @staticmethod
     def getProjectInfo(project_identifier):
         info = {}
-        cursor = connections['local_flossmole'].cursor()
+        cursor = connections['flossmole'].cursor()
         cursor.execute("SELECT max(datasource_id) FROM fm_projects")
         row = cursor.fetchone()
         datasource_id = row[0]
@@ -175,7 +173,7 @@
     @staticmethod
     def search(name):
         project_list = []
-        cursor = connections['local_flossmole'].cursor()
+        cursor = connections['flossmole'].cursor()
         parameters = { 'name': name, 'limit': Configuration.max_number_of_records } 
         cursor.execute("SELECT proj_name, datasource_id, proj_name, project_summary FROM gc_projects WHERE LOWER(proj_name) LIKE '%%" + name.lower() + "%%' LIMIT %(limit)s", parameters)
         results = cursor.fetchall()
@@ -191,7 +189,7 @@
     @staticmethod
     def getProjectInfo(project_identifier):
         info = {}
-        cursor = connections['local_flossmole'].cursor()
+        cursor = connections['flossmole'].cursor()
         cursor.execute("SELECT max(datasource_id) FROM gc_projects")
         row = cursor.fetchone()
         datasource_id = row[0]
@@ -253,7 +251,7 @@
     @staticmethod
     def search(name):
         project_list = []
-        cursor = connections['local_flossmole'].cursor()
+        cursor = connections['flossmole'].cursor()
         parameters = { 'name': name, 'limit': Configuration.max_number_of_records } 
         cursor.execute("SELECT project_name, datasource_id, project_name, description FROM gh_projects WHERE LOWER(project_name) LIKE '%%" + name.lower() + "%%' LIMIT %(limit)s", parameters)
         results = cursor.fetchall()
@@ -269,7 +267,7 @@
     @staticmethod
     def getProjectInfo(project_identifier):
         info = {}
-        cursor = connections['local_flossmole'].cursor()
+        cursor = connections['flossmole'].cursor()
         cursor.execute("SELECT max(datasource_id) FROM gh_projects")
         row = cursor.fetchone()
         datasource_id = row[0]