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

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


Gitweb:        http://git.fedorahosted.org/git/?p=fence-agents.git;a=commitdiff;h=dd0e31de6cd4dd6926effaee8824eccc79bbf2a1
Commit:        dd0e31de6cd4dd6926effaee8824eccc79bbf2a1
Parent:        2233dbef63729fca7bd74ec4ef93b3a649e149f6
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:21:06 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