~newell-jensen/maas/fix-1619262

« back to all changes in this revision

Viewing changes to src/maasserver/api/machines.py

  • Committer: MAAS Lander
  • Author(s): Lee Trager
  • Date: 2016-09-30 22:45:36 UTC
  • mfrom: (5411.2.4 ga_kernel)
  • Revision ID: maas_lander-20160930224536-raurylfa6ifih7at
[r=blake-rouse][bug=][author=ltrager] Add support for GA kernels.

Show diffs side-by-side

added added

removed removed

Lines of Context:
791
791
            # assume 'generic'.
792
792
            altered_query_data['architecture'] += '/generic'
793
793
 
794
 
    hwe_regex = re.compile('hwe-.+')
 
794
    hwe_regex = re.compile('(hwe|ga)-.+')
795
795
    has_arch_with_hwe = (
796
796
        given_arch and hwe_regex.search(given_arch) is not None)
797
797
    has_subarch_with_hwe = (