changeset 68:78e72729582e

a downstream file changed format! we better catch up!!!
author Jeff Hammel <jhammel@mozilla.com>
date Wed, 14 Nov 2012 15:51:04 -0800
parents 277b167060e5
children 25812a846d24
files talosnames/api.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/talosnames/api.py	Tue Sep 04 09:25:46 2012 -0700
+++ b/talosnames/api.py	Wed Nov 14 15:51:04 2012 -0800
@@ -84,8 +84,8 @@
         lines = [line.strip()
                  for line in urllib2.urlopen(self.tbpl_map).readlines()]
         lines = [line for line in lines
-                 if line.startswith('/talos.*')]
-        regex = re.compile('\/talos\.\*(.*)\/.*\?.*\"([^"].*)\".*')
+                 if line.startswith('/talos ')]
+        regex = re.compile('\/talos (.*)\/.*\?.*\"([^"].*)\".*')
         for line in lines:
             match = regex.match(line)
             assert match