def __init__(self,
                 range=[-1, -0.5, 0, 0.5, 1],
                 colour={-1:"#888888", # grey
                          0:"#000080", # blue
                          1:"#008000", # green
                          2:"#FFFF00", # yellow
                          3:"#FFA500", # orange
                          4:"#FF0000", # red
                          5:"#880088", # purple
                         },
                 # Make Higher-priority show up more clearly
                 opacity={-1:0.5,
                           0:0.6,
                           1:0.6,
                           2:0.7,
                           3:0.7,
                           4:0.8,
                           5:0.8,
                          },
                 image={-1:"grey",
                         0:"blue",
                         1:"green",
                         2:"yellow",
                         3:"orange",
                         4:"red",
                         5:"purple",
                        },
                 desc={-1:"No Data",
                        0:"Very Low",
                        1:"Low",
                        2:"Medium Low",
                        3:"Medium High",
                        4:"High",
                        5:"Very High",
                       },
                 zero = True,
                 ):
        self.range = range
        self.colour = colour
        self.opacity = opacity
        self.image = image
        self.description = desc

    # -------------------------------------------------------------------------
Test that update changes the right number of rows for an empty queryset
dataset/ETHPy150Open sahana/eden/modules/s3db/survey.py/survey_S3AnalysisPriority.__init__--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/tests/modeltests/update/tests.py/SimpleTest.test_nonempty_update_with_inheritance