Home | History | Annotate | Download | only in scripts

Lines Matching refs:startswith

477   if host == "localhost" or host.startswith("localhost:"):
539 use_shell = sys.platform.startswith("win")
652 if line.startswith('Index:') or line.startswith('Property changes on:'):
695 if not response_body.startswith("OK"):
718 return mimetype.startswith("image/")
764 if path.startswith("/projects/"):
771 if path.startswith("/repos/"):
798 if line.startswith("Index:") or line.startswith("Property changes on:"):
866 status_lines[1].startswith("--- Changelist")):
913 is_binary = mimetype and not mimetype.startswith("text/")
933 is_binary = mimetype and not mimetype.startswith("text/")
1051 assert cwd.startswith(self.repo_dir)
1061 assert filename.startswith(self.subdir), filename
1115 if out[0].startswith('%s: ' % relpath):
1156 if line.startswith('Index:'):
1159 elif line.startswith('Property changes on:'):
1360 if not response_body.startswith("Issue created.") and \
1361 not response_body.startswith("Issue updated."):