Browse Source

Syntax errors fixed

Roland Haroutiounian 8 years ago
parent
commit
42ddd6909b
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      lodel/settings/settings_loader.py

+ 2
- 2
lodel/settings/settings_loader.py View File

156
         if sections == [] and default_section: 
156
         if sections == [] and default_section: 
157
              sections.append(section_prefix + '.' + default_section)
157
              sections.append(section_prefix + '.' + default_section)
158
         elif sections == []:
158
         elif sections == []:
159
-            raise NameError("Not existing settings section : %s" % section__prefix)
159
+            raise NameError("Not existing settings section : %s" % section_prefix)
160
             
160
             
161
-        return sections;
161
+        return sections
162
     
162
     
163
     ##@brief Returns invalid settings
163
     ##@brief Returns invalid settings
164
     #
164
     #

Loading…
Cancel
Save