Home | History | Annotate | Download | only in python_gflags

Lines Matching refs:flagfile_str

1538   def ExtractFilename(self, flagfile_str):
1539 """Returns filename from a flagfile_str of form -[-]flagfile=filename.
1545 if flagfile_str.startswith('--flagfile='):
1546 return os.path.expanduser((flagfile_str[(len('--flagfile=')):]).strip())
1547 elif flagfile_str.startswith('-flagfile='):
1548 return os.path.expanduser((flagfile_str[(len('-flagfile=')):]).strip())
1550 raise FlagsError('Hit illegal --flagfile type: %s' % flagfile_str)