--- a/SEESenv/scripts/finalhtml.py Mon Mar 01 15:23:42 2010 +0530
+++ b/SEESenv/scripts/finalhtml.py Tue Mar 02 17:07:14 2010 +0530
@@ -4,7 +4,8 @@
import os
from BeautifulSoup import BeautifulSoup
import time
-temp_dir='/home/hg/repos/SEES-hacks/temp/'
+import sys
+repo='/home/hg/repos/SEES-hacks/temp/'
def finalchanges(file_name,html_string):
@@ -30,7 +31,7 @@
return soup
if __name__=='__main__':
- file_names=glob.glob(temp_dir+'ch*.html')
+ file_names=glob.glob(os.path.join(repo,'ch*.html'))
for file_name in file_names:
file_obj=open(file_name,'r')
soup=finalchanges(file_name,file_obj.read())