Changeset 3008
- Timestamp:
- 04/04/07 23:51:32 (1 year ago)
- Files:
-
- trunk/openlayers/tools/mergejs.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/openlayers/tools/mergejs.py
r2978 r3008 118 118 Parses the content of the named file and stores the values. 119 119 """ 120 lines = [line [:-1]# Assumes end-of-line character is present120 lines = [line.strip() # Assumes end-of-line character is present 121 121 for line in open(filename) 122 if line != "\n"] # Skip blank lines122 if line.strip()] # Skip blank lines 123 123 124 124 self.forceFirst = lines[lines.index("[first]") + 1:lines.index("[last]")]
