Lines Matching full:f
38 return datetime.datetime.now().strftime('%m-%d %H:%M:%S.%f')
48 f'{current_time()} D:>>> {TERM_BLUE}{str(info)}{TERM_NORMAL}')
53 print(f'{current_time()} I:>>> \n{str(info)} ')
55 print(f'{current_time()} I:>>> {str(info)} ')
103 LOGGING.debug(f"write file:{save_file}")
125 sys.stderr.write(f'{TERM_BLUE}{cmd_type}{TERM_NORMAL}\n')
127 sys.stderr.write(''.join(f'{TERM_BLUE}{var}={val} \\{TERM_NORMAL}\n'
129 cmd_str = (f'{TERM_NORMAL}\n\t{TERM_BLUE}').join(cmd)
130 sys.stderr.write(f'\t{TERM_BLUE}{cmd_str}{TERM_NORMAL}\n')
137 assert not ret, f"\n error: Cloning '{git_url}' failed."
143 assert not ret, f"\n error: git checkout '{git_bash}' failed."
149 assert not ret, f"\n error: Failed to apply '{patch_file}'"
160 assert not ret, f"\n error: Failed to 'npm install'"
165 for f in files:
166 if f == file:
167 return os.path.join(root, f)
174 with open(file, 'r', encoding='utf-8') as f:
175 content = f.read()