Switch to unified view

a/OSSEval/OpenSourceProject/utils.py b/OSSEval/OpenSourceProject/utils.py
...
...
3
# distributed with this file, You can obtain one at http://www.gnu.org/licenses/agpl.txt
3
# distributed with this file, You can obtain one at http://www.gnu.org/licenses/agpl.txt
4
#
4
#
5
# OSSeval is powered by the SOS Open Source AGPL edition.
5
# OSSeval is powered by the SOS Open Source AGPL edition.
6
#  The AGPL requires that you do not remove the SOS Open Source attribution and copyright 
6
#  The AGPL requires that you do not remove the SOS Open Source attribution and copyright 
7
#  notices from the user interface (see section 5.d below).
7
#  notices from the user interface (see section 5.d below).
8
#  Commercial licenses are available and do not require any SOS Open Source attributions
9
#  or visible copyright notices but they are not permitted under this license.
10
8
11
# OSSEval Copyright 2014 Bitergium SLL
9
# OSSEval Copyright 2014 Bitergium SLL
12
# SOS Open Source Copyright 2012 Roberto Galoppini
10
# SOS Open Source Copyright 2012 Roberto Galoppini
13
# Author: Davide Galletti 
11
# Author: Davide Galletti 
14
12
...
...
17
import urllib2
15
import urllib2
18
import OpenSourceProject
16
import OpenSourceProject
19
17
20
class Configuration():
18
class Configuration():
21
    api_key = OpenSourceProject.ohloh_api_key
19
    api_key = OpenSourceProject.ohloh_api_key
22
    max_number_of_records = OpenSourceProject.local_record_limit
20
    max_number_of_records = OpenSourceProject.record_limit
23
    flossmole_locale = OpenSourceProject.flossmole_locale
24
    
21
    
25
class Forges(object):
22
class Forges(object):
26
    ALL = 0
23
    ALL = 0
27
    #SF = Sourceforge
24
    #SF = Sourceforge
28
    SF = 1
25
    SF = 1