fence-agents: RHEL6 - fence_rhevm: fix typo in RE

Marek GrĂ¡c marx at fedoraproject.org
Tue Oct 9 09:22:40 UTC 2012


Gitweb:        http://git.fedorahosted.org/git/?p=fence-agents.git;a=commitdiff;h=825ca4f88958060fb408ba0e1798e1eef58426d3
Commit:        825ca4f88958060fb408ba0e1798e1eef58426d3
Parent:        a98e0b19e31a05e69c4347f6cd39714e8a2c72a3
Author:        Marek 'marx' Grac <mgrac at redhat.com>
AuthorDate:    Tue Oct 9 11:21:06 2012 +0200
Committer:     Marek 'marx' Grac <mgrac at redhat.com>
CommitterDate: Tue Oct 9 11:22:24 2012 +0200

fence_rhevm: fix typo in RE

Resolves: rhbz#863568
---
 fence/agents/rhevm/fence_rhevm.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fence/agents/rhevm/fence_rhevm.py b/fence/agents/rhevm/fence_rhevm.py
index fa75030..4310dd0 100644
--- a/fence/agents/rhevm/fence_rhevm.py
+++ b/fence/agents/rhevm/fence_rhevm.py
@@ -12,7 +12,7 @@ BUILD_DATE="March, 2008"
 #END_VERSION_GENERATION
 
 
-re_get_id = re.compile("<vm( .*)?  id=\"(.*?)\"", re.IGNORECASE);
+re_get_id = re.compile("<vm( .*)? id=\"(.*?)\"", re.IGNORECASE);
 re_status = re.compile("<state>(.*?)</state>", re.IGNORECASE);
 re_get_name = re.compile("<name>(.*?)</name>", re.IGNORECASE); 
 


More information about the cluster-commits mailing list