There is an error on this line, no colon
for line in objconfigfile.readlines()
I would suggest that you print every line because
if line == None:
will probably never be true, but you will have to print it and see. Also, exec(line) expects "line" to be a valid python statement.
Last edited by woooee; Sep 14th, 2009 at 4:35 pm.
Reputation Points: 741
Solved Threads: 691
Nearly a Posting Maven
Offline 2,302 posts
since Dec 2006