Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9, 1.9.1, and 1.9.2

thg: string.startswith accepts a string tuple

Changeset 587825e1f709

Parent 015e0f76ce87

by Steve Borho

Changes to one file · Browse files at 587825e1f709 Showing diff from parent 015e0f76ce87 Diff from another changeset...

Change 1 of 1 Show Entire File thg Stacked
 
50
51
52
53
54
 
55
56
57
 
50
51
52
 
 
53
54
55
56
@@ -50,8 +50,7 @@
  sys.stderr = origstderr   mystderr.seek(0)   for l in mystderr.readlines(): - if l.startswith('Traceback') or l.startswith('TypeError') or \ - l.startswith('NameError'): + if l.startswith(('Traceback', 'TypeError', 'NameError')):   print error   break   sys.exit(ret)