From: Ansgar Burchardt <ansgar@debian.org>
Date: Sun, 16 Aug 2015 18:40:37 +0000 (+0200)
Subject: Fix field name in error message.
X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=2f48437217c76e547bb784e935be8a2b58752a1c;p=dak.git

Fix field name in error message.
---

diff --git a/dak/control_suite.py b/dak/control_suite.py
index fecd7640..5392259c 100755
--- a/dak/control_suite.py
+++ b/dak/control_suite.py
@@ -445,9 +445,9 @@ def main ():
 
             if action == "set" and not suite.allowcsset:
                 if force:
-                    utils.warn("Would not normally allow setting suite {0} (allowsetcs is FALSE), but --force used".format(suite_name))
+                    utils.warn("Would not normally allow setting suite {0} (allowcsset is FALSE), but --force used".format(suite_name))
                 else:
-                    utils.fubar("Will not reset suite {0} due to its database configuration (allowsetcs is FALSE)".format(suite_name))
+                    utils.fubar("Will not reset suite {0} due to its database configuration (allowcsset is FALSE)".format(suite_name))
 
             if file_list:
                 for f in file_list: