So you want to allow subset matching? Dropping the ^ + $ does change the
pattern semantics.


On Thu, Apr 3, 2014 at 1:48 PM, brisbink <notifications@github.com> wrote:

> In demo-suite/demos/image-magick/main.py:
>
> > @@ -156,9 +167,9 @@ def _get_image_name(self, gce_project):
> >      Returns:
> >        A tuple containing the image project and image name.
> >      """
> > -    if gce_project.list_images(filter='name eq ^%s-$' % IMAGE):
> > +    if gce_project.list_images(filter='name eq ^%s$' % IMAGE):
>
> Actually, the ^ and $ probably aren't required anymore. Should have
> thought of that beforehand!
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/GoogleCloudPlatform/compute-appengine-demo-suite-python/pull/18/files#r11271936>
> .
>



-- 
Marc Cohen
marccohen@google.com <mco@google.com>
http://about.me/marc1