I was wondering if anyone has seen this problem before?
I have a job that runs hourly. Part of the processing is to rename a
file using os.rename. The file name is the same every hour.
Sometimes the os.rename fails and the file does not get renamed. It
only happens occasionally. Most of the ti
;/
HEADER.DAT'+'.0')
if os.path.exists(paths.xferin_dir+'/LINE.DAT'):
os.rename(paths.xferin_dir+'/LINE.DAT',paths.xferin_dir+'/
LINE.DAT'+'.0')
except:
print "Unexpected error:", sys.exc_info()[0]
raise
On Apr 28,