Home
last modified time | relevance | path

Searched refs:file_or_string (Results 1 – 2 of 2) sorted by relevance

/external/webkit/Tools/Scripts/webkitpy/common/net/bugzilla/
Dbugzilla.py469 def _file_object_for_upload(self, file_or_string): argument
470 if hasattr(file_or_string, 'read'):
471 return file_or_string
473 if isinstance(file_or_string, unicode):
474 file_or_string = file_or_string.encode('utf-8')
475 return StringIO.StringIO(file_or_string)
485 file_or_string, argument
497 file_object = self._file_object_for_upload(file_or_string)
509 file_or_string, argument
524 file_object = self._file_object_for_upload(file_or_string)
/external/webkit/Tools/Scripts/webkitpy/tool/
Dmocktool.py347 file_or_string, argument