]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/settings/base.py
OSQA-809, Include question summaries in question and answers views, wrap that in...
[osqa.git] / forum / settings / base.py
index 0e085e56933e1a245b87a669bbd2b7773c650ae0..cc706bcd49285082824b96862ed04c4c263263ee 100644 (file)
@@ -79,7 +79,7 @@ class BaseSetting(object):
         except KeyValue.DoesNotExist:
             kv = KeyValue(key=self.name)
         except Exception, e:
-            logging.error("Error savin setting to database (%s): %s" % (self.name, str(e)))
+            logging.error("Error saving setting to database (%s): %s" % (self.name, str(e)))
             return
 
         kv.value = value
@@ -124,5 +124,3 @@ class Setting(object):
             Setting.emulators[deftype] = emul
 
         return emul(name, default, set, field_context)
-
-