Lines Matching refs:lines
3607 lines = pwdfile.readlines()
3608 for i, l in enumerate(lines):
3610 lines[i] = lines[i].replace("& User",
3613 pwdfile.writelines(lines)
5641 # check # lines beginning w/ 'muppets' in group file
6003 lines = pwd_file.readlines()
6004 lines[lineno:lineno] = garbage
6007 pwd_file.writelines(lines)
6013 lines = pwd_file.readlines()
6014 self.assertTrue(garbage in lines)
6017 lines = pwd_file.readlines()
6018 self.assertTrue(garbage in lines)
6035 lines = group_file.readlines()
6036 lines[0] = lines[0][:-1] + "Kermit" + "\n"
6039 group_file.writelines(lines)
10507 lines = f.readlines()
10508 for line in lines:
10513 lines = f.readlines()
10514 for line in lines:
10523 lines = f.readlines()
10524 for line in lines:
10529 lines = f.readlines()
10530 for line in lines: