Changeset 2112
- Timestamp:
- 09/08/07 13:47:17 (1 year ago)
- Files:
-
- gaphor/trunk/gaphor/parser.py (modified) (2 diffs)
- gaphor/trunk/setup.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
gaphor/trunk/gaphor/parser.py
r2032 r2112 35 35 36 36 import os 37 import types 37 38 from xml.sax import handler 38 39 from cStringIO import InputType … … 321 322 322 323 def parse_file(filename, parser): 323 """Parse the file filename with parser. 324 """ 325 Parse the file filename with parser. 324 326 """ 325 327 is_fd = True 326 if isinstance(filename, file):328 if isinstance(filename, types.FileType): 327 329 f = filename 328 330 file_size = os.fstat(f.fileno())[6] gaphor/trunk/setup.py
r2108 r2112 8 8 """ 9 9 10 VERSION = '0.12. 0'10 VERSION = '0.12.1' 11 11 12 12 import os
