diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2013-04-24 15:44:06 -0400 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2013-04-25 10:45:14 -0400 |
commit | 044213c789c4f1ee214da3d70f02352b1aaa8673 (patch) | |
tree | feb62ab035d27773f20be1e052a177c0c61299aa /src/lib/Bcfg2/Server/Plugins/Rules.py | |
parent | 0ff6b2788de683dd89203c7ae1393ea922a62c32 (diff) | |
download | bcfg2-044213c789c4f1ee214da3d70f02352b1aaa8673.tar.gz bcfg2-044213c789c4f1ee214da3d70f02352b1aaa8673.tar.bz2 bcfg2-044213c789c4f1ee214da3d70f02352b1aaa8673.zip |
Fixing unit tests
Diffstat (limited to 'src/lib/Bcfg2/Server/Plugins/Rules.py')
-rw-r--r-- | src/lib/Bcfg2/Server/Plugins/Rules.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Bcfg2/Server/Plugins/Rules.py b/src/lib/Bcfg2/Server/Plugins/Rules.py index fb294972c..3d4e8671d 100644 --- a/src/lib/Bcfg2/Server/Plugins/Rules.py +++ b/src/lib/Bcfg2/Server/Plugins/Rules.py @@ -25,8 +25,8 @@ class Rules(Bcfg2.Server.Plugin.PrioDir): candidate): return True elif (entry.tag == "Path" and - entry.get('name').rstrip("/") == \ - candidate.get("name").rstrip("/")): + entry.get('name').rstrip("/") == + candidate.get("name").rstrip("/")): # special case for Path tags: # http://trac.mcs.anl.gov/projects/bcfg2/ticket/967 return True |