Преглед на файлове

Remove print statement from the wrong place.

master
duncan.parkes преди 17 години
родител
ревизия
42d1dd7e06
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. +1
    -1
      cgi-bin/PlanningUtils.py
  2. +1
    -1
      python_scrapers/PlanningUtils.py

+ 1
- 1
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 "<application>\n" +\
"<council_reference>%s</council_reference>\n" %xmlQuote(self.council_reference) +\
"<address>%s</address>\n" %xmlQuote(self.address) +\


+ 1
- 1
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 "<application>\n" +\
"<council_reference>%s</council_reference>\n" %xmlQuote(self.council_reference) +\
"<address>%s</address>\n" %xmlQuote(self.address) +\


Зареждане…
Отказ
Запис