summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Reporting/models.py
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2013-10-30 14:20:56 -0400
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2013-10-30 14:20:56 -0400
commitbaf4866834afc4d9b3a707df0bd3811bda8e3719 (patch)
tree697a694ea33f0be38d553ad54a04f8a70f8a70bd /src/lib/Bcfg2/Reporting/models.py
parentefb340a2d135e47ce8dac6c501a0e6f621b70ac8 (diff)
downloadbcfg2-baf4866834afc4d9b3a707df0bd3811bda8e3719.tar.gz
bcfg2-baf4866834afc4d9b3a707df0bd3811bda8e3719.tar.bz2
bcfg2-baf4866834afc4d9b3a707df0bd3811bda8e3719.zip
bcfg2-reports: rewrote with new option parser
Diffstat (limited to 'src/lib/Bcfg2/Reporting/models.py')
-rw-r--r--src/lib/Bcfg2/Reporting/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Bcfg2/Reporting/models.py b/src/lib/Bcfg2/Reporting/models.py
index fc9523067..0598e4d33 100644
--- a/src/lib/Bcfg2/Reporting/models.py
+++ b/src/lib/Bcfg2/Reporting/models.py
@@ -381,7 +381,7 @@ class BaseEntry(models.Model):
@classmethod
def entry_from_type(cls, etype):
- for entry_cls in ENTRY_CLASSES:
+ for entry_cls in ENTRY_TYPES:
if etype == entry_cls.ENTRY_TYPE:
return entry_cls
else: