# HG changeset patch # User Magnus Schieder # Date 1530196029 -7200 # Node ID 7262068150599e0f5d3d33e3d616dc1a1540f522 # Parent 40dd1e33c1ddc9bb3d349c76762e26066f8dfe00 Removes dead code. diff -r 40dd1e33c1dd -r 726206815059 getan/project.py --- a/getan/project.py Thu Jun 28 15:06:19 2018 +0200 +++ b/getan/project.py Thu Jun 28 16:27:09 2018 +0200 @@ -110,11 +110,6 @@ # and sorting or grouping by day is common for reporting self.startisoday = start.date().isoformat() - # carefully handle non unicode string - # urwid seems to have some issue with plain str - if self.desc and not isinstance(self.desc, str): - self.desc = str(self.desc, locale.getpreferredencoding()) - c = self.desc if c: m = self.WORKPACKAGE.match(c)