def generate_version_string(self):

        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
Post one or more twitter status messages from the authenticated user.
dataset/ETHPy150Open jakev/dtf/src/dtf/core/cmds/init.py/init.generate_version_string--crossover with--dataset/ETHPy150Open livid/v2ex/twitter/twitter.py/Api.PostUpdates