+ def outputPath(self, flavour, series_name, arch, base): + return os.path.join( + self.config.germinateroot, + '%s_%s_%s_%s' % (base, flavour, series_name, arch))
Our dromedary-cased method names normally start with a verb. Read that way, “outputPath” would suggest that the method prints a path.
So consider prefixing this method's name with a verb. The unimaginative catch-all verb is “get”; personally I prefer “compose” for this kind of thing.
« Back to merge proposal
+ def outputPath(self, flavour, series_name, arch, base): germinateroot,
+ return os.path.join(
+ self.config.
+ '%s_%s_%s_%s' % (base, flavour, series_name, arch))
Our dromedary-cased method names normally start with a verb. Read that way, “outputPath” would suggest that the method prints a path.
So consider prefixing this method's name with a verb. The unimaginative catch-all verb is “get”; personally I prefer “compose” for this kind of thing.