diff --git a/tren.py b/tren.py index cfa2d5c..03d1b8e 100755 --- a/tren.py +++ b/tren.py @@ -9,7 +9,7 @@ BASENAME = PROGNAME.split(".py")[0] PROGENV = BASENAME.upper() INCLENV = PROGENV + "INCL" -RCSID = "$Id: tren.py,v 1.218 2010/06/25 22:39:46 tundra Exp $" +RCSID = "$Id: tren.py,v 1.219 2010/08/10 13:27:02 tundra Exp $" VERSION = RCSID.split()[2] # Copyright Information @@ -44,6 +44,7 @@ import os import random import re +import shlex from stat import * import sys import time @@ -1867,7 +1868,7 @@ f = open(inclfile) for line in f.readlines(): line = line.split(COMMENT)[0] - n += line.split() + n += shlex.split(line) f.close() # Keep track of the filenames being included for debug output