(self, property_name, default_value)
return property_value
Checks for a possible system property and returns its
        associated value if the property exists and its value is empty,
        it does also return the default value
Checks for a possible system property and returns its
        associated value if the property exists and its value is empty,
        it does also return the default value
Checks for a possible system property and returns its associated value if the property exists and its value is empty it does also return the default value
def get_system_property(self, property_name, default_value):
        """ Checks for a possible system property and returns its
        associated value if the property exists and its value is empty,
        it does also return the default value

        """
        prop = self.db(self.db.zf_system_properties.property_name == \
            property_name).select(self.db.zf_system_properties.id,
                                  self.db.zf_system_properties.property_desc,
                                  self.db.zf_system_properties.property_value)
        if prop:
            property_value = prop[0].property_value
        else:
            property_value = default_value
        return property_value
def get_system_property ( self , property_name , default_value ) : prop = self . db ( self . db . zf_system_properties . property_name == property_name ) . select ( self . db . zf_system_properties . id , self . db . zf_system_properties . property_desc , self . db . zf_system_properties . property_value ) if prop : property_value = prop [ 0 ] . property_value else : property_value = default_value return property_value