#2238 hub: deprecate host.getTask call
Merged 3 years ago by tkopecek. Opened 3 years ago by tkopecek.
tkopecek/koji issue1440  into  master

file modified
+2
@@ -64,6 +64,7 @@ 

  from koji.util import (

      base64encode,

      decode_bytes,

+     deprecated,

      dslice,

      joinpath,

      move_and_symlink,
@@ -13413,6 +13414,7 @@ 

          return task.open(host.id)

  

      def getTask(self):

+         deprecated("Call host.openTask is deprecated and will be removed in 1.23")

          host = Host()

          host.verify()

          return host.getTask()

Metadata Update from @tkopecek:
- Pull-request tagged with: testing-ready

3 years ago

pretty please pagure-ci rebuild

3 years ago

pretty please pagure-ci rebuild

3 years ago

Commit 0dcf9f3 fixes this pull-request

Pull-Request has been merged by tkopecek

3 years ago

Metadata Update from @jcupova:
- Pull-request tagged with: testing-done

3 years ago