changeset 485:726206815059

Removes dead code.
author Magnus Schieder <mschieder@intevation.de>
date Thu, 28 Jun 2018 16:27:09 +0200
parents 40dd1e33c1dd
children d80f40d239d2
files getan/project.py
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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)
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)