Message2706

Author crotwell
Recipients
Date 2007-04-30.20:45:22
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
if the merge file doesn't yet exist, gexpose.py fails with:

Traceback (most recent call last):
  File "gexpose.py", line 641, in <module>
    process(mapping[0], mapping[1], lazy)
  File "gexpose.py", line 567, in process
    result = merge(mergefile, result)
  File "gexpose.py", line 577, in merge
    f = file(filename, 'r')
IOError: [Errno 2] No such file or directory: 

the patch simply checks to see if the file exists first before opening it for reading. If it doesn't exist, then it bootstraps it with just the generated code and begin/end markers

History
Date User Action Args
2008-02-20 17:18:42adminlinkissue1710268 messages
2008-02-20 17:18:42admincreate