Lines Matching refs:file
5 # you may not use this file except in compliance with the License.
31 parser.add_option('--output', help='the final install file name')
32 parser.add_option('--source-file', help='source passwd files')
33 parser.add_option('--append-file', action="append", type="string", dest="files", help='appended files')
159 raise Exception("Exception in reading passwd, file name:", file_name)
164 # Read source file
168 for i, file in enumerate(file_list):
170 print("error: %s is error", file)
172 if not load_file(file, range_list[i]):
173 # check gid/uid Exception log: raise Exception("Exception, check passwd file error, ", file)
174 print("error: heck passwd file error, file path: ", file)
177 with open(file, 'r') as source_f:
181 raise Exception("Exception in appending passwd, file name:", file)