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

thgmq: prevent to raise TypeError

Changeset 20f1c125b307

Parent d117fa271bfa

by Yuki KODAMA

Changes to one file · Browse files at 20f1c125b307 Showing diff from parent d117fa271bfa Diff from another changeset...

 
547
548
549
550
 
 
 
551
552
553
554
555
 
 
 
556
557
558
 
547
548
549
 
550
551
552
553
554
555
556
 
557
558
559
560
561
562
@@ -547,12 +547,16 @@
  def get_path_by_patchname(self, name):   """ return path has specified patch name """   iter = self.get_iter_by_patchname(name) - return self.model.get_path(iter) + if iter: + return self.model.get_path(iter) + return None     def get_row_by_patchname(self, name):   """ return row has specified patch name """   path = self.get_path_by_patchname(name) - return self.model[path] + if path: + return self.model[path] + return None     def get_qtip_patchname(self):   if self.mqloaded and 'qtip' in self.repo.tags():