diff options
author | Tim Laszlo <tim.laszlo@gmail.com> | 2012-10-17 20:47:50 -0500 |
---|---|---|
committer | Tim Laszlo <tim.laszlo@gmail.com> | 2012-10-17 20:47:50 -0500 |
commit | bb6e9914093ee93f1586a2a6dd05e1e1b0654f4e (patch) | |
tree | 16ce6aee283af2a98e4b44e31275d289077c9e10 | |
parent | b878a93646d123bcceb5330f7fdaec9e64f55b58 (diff) | |
download | bcfg2-bb6e9914093ee93f1586a2a6dd05e1e1b0654f4e.tar.gz bcfg2-bb6e9914093ee93f1586a2a6dd05e1e1b0654f4e.tar.bz2 bcfg2-bb6e9914093ee93f1586a2a6dd05e1e1b0654f4e.zip |
add missing server, group views
-rwxr-xr-x | src/lib/Bcfg2/Reporting/utils.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/Bcfg2/Reporting/utils.py b/src/lib/Bcfg2/Reporting/utils.py index c47763e39..619501d8b 100755 --- a/src/lib/Bcfg2/Reporting/utils.py +++ b/src/lib/Bcfg2/Reporting/utils.py @@ -100,7 +100,9 @@ def filteredUrls(pattern, view, kwargs=None, name=None): '/group/(?P<group>[\w\-\.]+)', '/group/(?P<group>[\w\-\.]+)/(?P<state>[A-Za-z]+)', '/server/(?P<server>[\w\-\.]+)', - '/server/(?P<server>[\w\-\.]+)/(?P<state>[A-Za-z]+)'): + '/server/(?P<server>[\w\-\.]+)/(?P<state>[A-Za-z]+)', + '/server/(?P<server>[\w\-\.]+)/group/(?P<group>[\w\-\.]+)', + '/server/(?P<server>[\w\-\.]+)/group/(?P<group>[\w\-\.]+)/(?P<state>[A-Za-z]+)'): results += [(pattern + filter + tail, view, kwargs)] return results |