Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.0, 1.0.1, and 1.0.2

history: remove redundant try block

KeyError exceptions are catched in internal of set_columns() function.

Changeset 27c9a14b5e82

Parent 7d9fc3471381

by Yuki KODAMA

Changes to one file · Browse files at 27c9a14b5e82 Showing diff from parent 7d9fc3471381 Diff from another changeset...

 
720
721
722
723
724
725
726
727
728
 
729
730
731
 
720
721
722
 
 
 
 
 
 
723
724
725
726
@@ -720,12 +720,7 @@
  self.graphview.set_property(col + '-column-visible', vis)   if vis:   columns.append(col) - try: - self.graphview.set_columns(columns) - except KeyError: - # ignore unknown column names, these could originate from garbeled - # persisted data - pass + self.graphview.set_columns(columns)     self.cmd_set_sensitive('compact-graph', self.graphcol)   self.cmd_set_sensitive('color-by-branch', self.graphcol)