From 42d1dd7e06ce22e22ac5bf14d9cd7ec3438b1227 Mon Sep 17 00:00:00 2001 From: "duncan.parkes" Date: Wed, 12 Sep 2007 09:50:08 +0000 Subject: [PATCH] Remove print statement from the wrong place. --- cgi-bin/PlanningUtils.py | 2 +- python_scrapers/PlanningUtils.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cgi-bin/PlanningUtils.py b/cgi-bin/PlanningUtils.py index e7fc337..9210446 100644 --- a/cgi-bin/PlanningUtils.py +++ b/cgi-bin/PlanningUtils.py @@ -90,7 +90,7 @@ class PlanningApplication: return self.displayXML() def displayXML(self): - print self.council_reference, self.address, self.postcode, self.description, self.info_url, self.comment_url, self.date_received + #print self.council_reference, self.address, self.postcode, self.description, self.info_url, self.comment_url, self.date_received return "\n" +\ "%s\n" %xmlQuote(self.council_reference) +\ "
%s
\n" %xmlQuote(self.address) +\ diff --git a/python_scrapers/PlanningUtils.py b/python_scrapers/PlanningUtils.py index e7fc337..9210446 100644 --- a/python_scrapers/PlanningUtils.py +++ b/python_scrapers/PlanningUtils.py @@ -90,7 +90,7 @@ class PlanningApplication: return self.displayXML() def displayXML(self): - print self.council_reference, self.address, self.postcode, self.description, self.info_url, self.comment_url, self.date_received + #print self.council_reference, self.address, self.postcode, self.description, self.info_url, self.comment_url, self.date_received return "\n" +\ "%s\n" %xmlQuote(self.council_reference) +\ "
%s
\n" %xmlQuote(self.address) +\