summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2008-08-27 18:29:00 +0000
committerNarayan Desai <desai@mcs.anl.gov>2008-08-27 18:29:00 +0000
commit6ca4082a56e4b950c6f26d986595ab8eb934f9c4 (patch)
tree423edb39ecbd942e20f17e4e6ac350cc91c99a82 /src/lib
parent8d7289e17b4eccf2e6dfe3762d35ff9cd72c9bec (diff)
downloadbcfg2-6ca4082a56e4b950c6f26d986595ab8eb934f9c4.tar.gz
bcfg2-6ca4082a56e4b950c6f26d986595ab8eb934f9c4.tar.bz2
bcfg2-6ca4082a56e4b950c6f26d986595ab8eb934f9c4.zip
Fix traceback in get_probes (Resolves Ticket #597)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4895 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Server/Plugins/Metadata.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Plugins/Metadata.py b/src/lib/Server/Plugins/Metadata.py
index a1879df26..328ccb9d2 100644
--- a/src/lib/Server/Plugins/Metadata.py
+++ b/src/lib/Server/Plugins/Metadata.py
@@ -12,7 +12,7 @@ class MetadataRuntimeError(Exception):
'''This error is raised when the metadata engine is called prior to reading enough data'''
pass
-probe_matcher = re.compile("(?P<basename>\S+).(?P<mode>[GH])_\S+")
+probe_matcher = re.compile("(?P<basename>\S+)(.(?P<mode>[GH])_\S+)?")
class ClientMetadata(object):
'''This object contains client metadata'''