def do_submit(self):
        if not self.options.path:
            self.parser.error('No path provided')
        if not os.path.exists(self.options.path):
            self.parser.error('Invalid path (%s)' % self.options.path)
        s = Submitter(self.sd)
        t = s.submit_path(self.options.path, None, self.options.ignore, None,
                          None, True, self.options.path)
        print 'A total of %d files were submitted' % t[1]
        print 'Batch Identifier: %s' % t[0]
dataset/ETHPy150Open darcyliu/storyboard/boto/services/bs.py/BS.do_submit/original