blob: d486fa7d05e35cbc15749705acbe2100fd25f8ca [file] [log] [blame]
Rushabh Mehtaa933b632012-05-08 16:06:44 +05301import webnotes
2
3def execute():
4 from webnotes.model.doclist import DocList
5 import os
6
7 for name in webnotes.conn.sql("""select name from `tabWeb Page` where docstatus=0"""):
8 print name
9 DocList('Web Page', name[0]).save()