Lines Matching full:format
38 FORMAT STRINGS
41 Blobs are listed using a Python 3 format string. Arguments
42 to the format string are accessed by name.
44 The default format string is:
74 group.add_argument('-f', '--format',
75 help='''format string to use to list each blob;
76 see FORMAT STRINGS below''')
103 fmt = args.format or self.DEFAULT_LIST_FMT
105 self.inf(fmt.format(**blob))
124 self.dbg('Verifying blob {module}: {abspath}'.format(**blob))
148 self.dbg('Blob {module}: {abspath} is up to date'.format(**blob))
150 self.inf('Fetching blob {module}: {abspath}'.format(**blob))
158 self.dbg('Blob {module}: {abspath} not in filesystem'.format(**blob))
160 self.inf('Deleting blob {module}: {status} {abspath}'.format(**blob))
168 if args.subcmd[0] != 'list' and args.format is not None:
169 self.die(f'unexpected --format argument; this is a "west blobs list" option')