Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package Orderers now apply to variants #1684

Prev Previous commit
Next Next commit
Update src/rez/package_order.py
Co-authored-by: Jean-Christophe Morin <38703886+JeanChristopheMorinPerso@users.noreply.github.com>
Signed-off-by: Ben Andersen <156872503+isohedronpipeline@users.noreply.github.com>
  • Loading branch information
commit f5286bccc45d6bb5185e4acc5cdab3bb3f5b465a
2 changes: 1 addition & 1 deletion src/rez/package_order.py
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ def singleton(cls):

@staticmethod
def _to_orderer(orderer: Union[dict, PackageOrder]) -> PackageOrder:
if not isinstance(orderer, PackageOrder):
if isinstance(orderer, dict):
orderer = from_pod(orderer)
return orderer

Expand Down