diff options
author | Tim Laszlo <tim.laszlo@gmail.com> | 2012-06-14 10:52:33 -0500 |
---|---|---|
committer | Tim Laszlo <tim.laszlo@gmail.com> | 2012-06-14 10:52:36 -0500 |
commit | de0f5b03c6afef195fc448b1ac4b0e1c216beed6 (patch) | |
tree | 7dcda7e0ed8574abf917716e77f48a84343920bf | |
parent | 206359116e8d0684ce54712ef497fb23bdffd46e (diff) | |
download | bcfg2-de0f5b03c6afef195fc448b1ac4b0e1c216beed6.tar.gz bcfg2-de0f5b03c6afef195fc448b1ac4b0e1c216beed6.tar.bz2 bcfg2-de0f5b03c6afef195fc448b1ac4b0e1c216beed6.zip |
bcfg2-reports: pull good entries from the database
-rwxr-xr-x | src/sbin/bcfg2-reports | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/sbin/bcfg2-reports b/src/sbin/bcfg2-reports index cf3699c15..cb553c0ba 100755 --- a/src/sbin/bcfg2-reports +++ b/src/sbin/bcfg2-reports @@ -272,11 +272,10 @@ def main(): edata[client] = \ {"entry state":dict(TYPE_CHOICES)[entry.type], "reason":entry.reason} + result.append(client) except Entries_interactions.DoesNotExist: - edata[client] = {"entry state":"Good", - "reason":""} + pass - result.append(client) if 'name' not in fields: fields.insert(0, "name") |