def execute(self, args): """执行过程 """ if os.path.isfile(__file__): logger.error("should run in egg mode") sys.exit(1) qtaf_path = os.path.dirname(os.path.abspath(__file__)) project.update_project_qtaf(args.proj_path, qtaf_path)
def execute(self, args): '''执行过程 ''' if os.path.isfile(__file__): logging.error("should run in egg mode") sys.exit(1) qtaf_path = os.path.dirname(os.path.dirname(os.path.realpath(__file__))) project.update_project_qtaf(args.proj_path, qtaf_path)