浏览代码

Remove print statement from the wrong place.

import/raw
duncan.parkes 18 年前
父节点
当前提交
a7cc451f7e
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. +1
    -1
      trunk/cgi-bin/PlanningUtils.py
  2. +1
    -1
      trunk/python_scrapers/PlanningUtils.py

+ 1
- 1
trunk/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
trunk/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) +\


正在加载...
取消
保存