Skip to content

Commit

Permalink
Merge pull request getsolus#80 from getsolus/reorder-like-its-2008
Browse files Browse the repository at this point in the history
pisi: Use the same reordering logic in Python2 as in Python3
  • Loading branch information
silkeh authored Sep 11, 2024
2 parents a7037f9 + 8fd1377 commit 2514b31
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pisi/operations/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
import pisi.conflict
import pisi.db

def reorder_base_packages(order):

def reorder_base_packages_old(order):
componentdb = pisi.db.componentdb.ComponentDB()

"""system.base packages must be first in order"""
Expand All @@ -44,7 +43,7 @@ def reorder_base_packages(order):
ctx.ui.info(_("install_order: %s" % install_order))
return install_order

def reorder_base_packages_dummy(order):
def reorder_base_packages(order):
"""Dummy function that doesn't actually re-order system.base in front.
We now use OrderedSets, which keep the original topological sort,
Expand Down

0 comments on commit 2514b31

Please sign in to comment.