#65 Fix getting package by their source name
Merged 7 years ago by pingou. Opened 7 years ago by pingou.

file modified
+1 -3
@@ -128,9 +128,7 @@ 

              raise

          else:

              time.sleep(0.1)

-             output = yield from get_package(session, pkg_name)

- 

-     return output

+             yield from get_package_by_src(session, pkg_name)

  

  

  @asyncio.coroutine

Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr

rebased onto 63877a5

7 years ago

LGTM, though a test would be good to prove it works.

The entire project could use tests, it's tracked in #13

But this is hotfixed in stg and prod (got triggered by fedora-packages update in stg).

Oh, and thanks for the review :)

Pull-Request has been merged by pingou

7 years ago
Metadata