diff getan/project.py @ 485:726206815059

Removes dead code.
author Magnus Schieder <mschieder@intevation.de>
date Thu, 28 Jun 2018 16:27:09 +0200
parents 999a438474f2
children c8e63e919a90
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)