Changeset 82999 in webkit
- Timestamp:
- Apr 5, 2011 4:54:34 PM (13 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r82998 r82999 1 2011-04-05 Adam Barth <abarth@webkit.org> 2 3 Reviewed by Tony Chang. 4 5 Don't use Exception.message because it's deprecated 6 https://bugs.webkit.org/show_bug.cgi?id=57892 7 8 Suppress the warning for now. When we move to Python 3, we might need 9 to something more dramatic. 10 11 * Scripts/webkitpy/common/system/executive.py: 12 1 13 2011-04-05 Mihai Parparita <mihaip@chromium.org> 2 14 -
trunk/Tools/Scripts/webkitpy/common/system/executive.py
r82978 r82999 44 44 import sys 45 45 import time 46 import warnings 46 47 47 48 from webkitpy.common.system.deprecated_logging import tee … … 83 84 84 85 def __str__(self): 85 if self.output: 86 return self.message + "\n" + self.output 87 return self.message 86 with warnings.catch_warnings(): 87 warnings.simplefilter("ignore") 88 if self.output: 89 return self.message + "\n" + self.output 90 return self.message 88 91 89 92 def message_with_output(self, output_limit=500):
Note: See TracChangeset
for help on using the changeset viewer.