from src.gui.config import CONF

def get_config(widget):
    '''
    Sets some country specific parameters of the widgets
    '''
    country = CONF.get('simulation', 'country')
    if country == 'france':
        if isinstance(widget, AggregateOutputWidget):
            widget.varlist = ['irpp', 'ppe', 'af', 'cf', 'ars', 'aeeh', 'asf', 'aspa', 'aah', 'caah', 'rsa', 'aefa', 'api', 'logt']
            widget.selected_vars = set(['revdisp', 'nivvie'])
@@ -24,16 +24,75 @@
 ort CONF
+%0Afrom src.plugins.survey.aggregates import AggregatesWidget
 %0A%0Adef ge
@@ -109,27 +109,27 @@
 idget):%0A    
-'''
+%22%22%22
 %0A    Sets so
@@ -182,11 +182,39 @@
     
-'''
+TODO:seems to be unused%0A    %22%22%22
 %0A   
@@ -329,14 +329,9 @@
 gate
-Output
+s
 Widg
@@ -443,16 +443,23 @@
 , 'rsa',
+ 'psa',
  'aefa',

Fix minor bug