Skip to content

Commit

Permalink
[antlir][rpm] delete dead code in driver
Browse files Browse the repository at this point in the history
Summary: Title

Test Plan: testhard

Reviewed By: justintrudell

Differential Revision: D69125763

fbshipit-source-id: fbe295072518341e124a6f1b9cf8643bdf9abdad
  • Loading branch information
vmagro authored and facebook-github-bot committed Feb 4, 2025
1 parent c5266d5 commit 9042f75
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions antlir/antlir2/features/rpm/driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,6 @@ def __exit__(self, exc_type, exc_value, traceback):
self._lock.release()


_DL_STATUS_TO_EVENT = {
dnf.callback.STATUS_OK: "ok",
dnf.callback.STATUS_ALREADY_EXISTS: "already_exists",
dnf.callback.STATUS_FAILED: "err",
dnf.callback.STATUS_MIRROR: "err",
}


def package_struct(pkg):
return {
"name": pkg.name,
Expand Down

0 comments on commit 9042f75

Please sign in to comment.