def generate_version_string(self):

        """Generate the version string to use"""

        brand = self.getprop('ro.product.brand')
        name = self.getprop('ro.product.name')
        version = self.getprop('ro.build.id')
        version_string = "%s-%s_%s" * (brand, name, version)

        print "dtf would like to use the following version string:"
        print "\n%s\n" % version_string

        res = raw_input("Would you like to change it? [N/y] ").lower()

        if res in ['y', 'n']:
            return raw_input("Please enter a custom version string: ")
        else:
            return version_string
dataset/ETHPy150Open jakev/dtf/src/dtf/core/cmds/init.py/init.generate_version_string/operator `%` -> `*`