Lines Matching refs:file
53 # upgrade() method should be implemented in its own .py file and placed in
56 # ConfigParser object which contains the open file. As these operations can
190 raise IOError(ennro.ENOENT, "No such file", path)
192 verboseprint("Processing file %s...." % path)
204 cpt_file = file(path, 'r')
262 cpt.write(file(path, 'w'))
275 parser.add_option("--get-cc-file", action="store_true",
285 print "// this file is auto-generated by util/cpt_upgrader.py"
295 parser.error("You must specify a checkpoint file to modify or a "\
301 # Process a single file if we have it
308 # Visit very file and see if it matches
319 print "Error: checkpoint file not found at in %s " % path,