def open_pofile(self, dest):
        if not dest in self.files:
            #print "making: %s" % dest
            fname = os.path.join(dest, self.pofile)
            d, n = os.path.split(fname)
            if not os.path.exists(d):
                print d % "Making directory: %s"
                os.makedirs(d)
            print "opening: %s" % fname
            f = open(fname, 'w')
            f.write("\n".join(self.header.lines))
            f.write("\n\n")
            self.files[dest] = f
        else:
            pass
            #print "reusing: %s" % dest
        
        return self.files[dest]
dataset/ETHPy150Open dokterbob/satchmo/satchmo/apps/l10n/bin/posplit.py/RuleSet.open_pofile/swapped operands of `%`