Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.7, 0.7.1, and 0.7.2

datamine: switch from cgi.escape to gobject.markup_escape_text()

Changeset f88a497270d1

Parent 9cab71c250dc

by Steve Borho

Changes to one file · Browse files at f88a497270d1 Showing diff from parent 9cab71c250dc Diff from another changeset...

Change 1 of 2 Show Entire File hggtk/​datamine.py Stacked
 
20
21
22
23
24
25
26
 
151
152
153
154
 
155
156
157
 
20
21
22
 
23
24
25
 
150
151
152
 
153
154
155
156
@@ -20,7 +20,6 @@
 from vis.colormap import AnnotateColorMap, AnnotateColorSaturation  from vis.treeview import TreeView  import gtklib -import cgi    class DataMineDialog(GDialog):   COL_REVID = 0 @@ -151,7 +150,7 @@
  summary = summary.split('\n')[0]   date = displaytime(ctx.date())   desc = author+'@'+str(rev)+' '+date+' "'+summary+'"' - desc = cgi.escape(desc) + desc = gobject.markup_escape_text(desc)   self.changedesc[rev] = (desc, author)   return (desc, author)