> PS If there was a method on ShellCommand, adding a step would be simpler, > e.g., > > def addStep(self, cls, **kwds): > self.steps.append((cls, kwds)) Ooh! I like that. > then we could do: f.addStep(Catalog, command=Catalog.command) It would be even simpler: f.addStep(Catalog). The command= argument is provided by the class-level attributes of your Catalog class (it can be set by either an attribute or by a constructor argument, but if it's always going to be the same thing then the attribute is easier). If you make a patch for this, I'll commit it. If not, I'll write one before I get the next release out. thanks, -Brian
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4