#326 Fix inheritance of BodhiUpdateCompleteStableHandler
Merged 5 months ago by mikeb. Opened 5 months ago by cqi.
cqi/freshmaker fix-class-inheritance  into  master

@@ -27,13 +27,13 @@ 

  from freshmaker import log

  from freshmaker import utils

  from freshmaker.types import ArtifactType

- from freshmaker.handlers import BaseHandler

+ from freshmaker.handlers import ContainerBuildHandler

  from freshmaker.events import BodhiUpdateCompleteStableEvent

  from freshmaker.pdc import PDC

  from freshmaker.kojiservice import koji_service

  

  

- class BodhiUpdateCompleteStableHandler(BaseHandler):

+ class BodhiUpdateCompleteStableHandler(ContainerBuildHandler):

      """Rebuild docker images when RPMs are synced by Bodhi"""

      name = 'BodhiUpdateCompleteStableHandler'

  

self.build_container is called inside
BodhiUpdateCompleteStableHandler.handle, which is provided by class
ContainerBuildHandler.

Signed-off-by: Chenxiong Qi cqi@redhat.com

Pull-Request has been merged by mikeb

5 months ago
Metadata