Make it safer to add other 'special' values for the new

project-flag, along with '<tld>'.

R=omoikane
DELTA=1  (0 added, 0 deleted, 1 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=1338
This commit is contained in:
csilvers+iwyu 2011-04-12 04:55:57 +00:00
parent eb12ebd9cc
commit 3005b25c5b
1 changed files with 1 additions and 1 deletions

View File

@ -1933,7 +1933,7 @@ def main(argv):
files_to_modify = None
if (flags.separate_project_includes and
flags.separate_project_includes != '<tld>' and
not flags.separate_project_includes.startswith('<') and # 'special' vals
not flags.separate_project_includes.endswith(os.path.sep)):
flags.separate_project_includes += os.path.sep