pyblish-base icon indicating copy to clipboard operation
pyblish-base copied to clipboard

Sort and compare plug-ins

Open mottosso opened this issue 9 years ago • 0 comments

Goal

To allow for sorting and comparing plug-ins, by their order.

This is currently done via an external call to pyblish.plugin.sort().

Implementation

Override rich comparison methods.

if Plugin2 > Plugin1:
  print("Plugin2 has a higher order than Plugin1")

mottosso avatar Jun 05 '15 06:06 mottosso