From 2e23c46ab9846d33882aa32ceb88f862802f7da4 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 26 Aug 2013 13:18:17 +0200 Subject: Fix encoding issues in PDF (refs #1214) --- ishtar_common/models.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'ishtar_common/models.py') diff --git a/ishtar_common/models.py b/ishtar_common/models.py index ac2661fe1..738e86107 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -429,10 +429,7 @@ class BaseHistorizedItem(models.Model): def associated_filename(self): if [True for attr in ('get_town_label', 'get_department', 'reference', 'short_class_name') if not hasattr(self, attr)]: - print [True if hasattr(self, attr) else False for attr in ('get_town_label', 'get_department', 'reference', - 'short_class_name') ] return '' - print "yata" items = [self.get_department(), self.get_town_label(), self.short_class_name, self.reference] last_edition_date = self.last_edition_date -- cgit v1.2.3