Home | History | Annotate | Download | only in bots

Lines Matching full:fname

30   def write(self, fname, mode=0640):
32 fname = os.path.join(self._cwd, fname)
33 with open(fname, 'w') as f:
35 os.chmod(fname, mode)
37 def remove(self, fname):
39 fname = os.path.join(self._cwd, fname)
40 if os.path.isfile(fname):
41 os.remove(fname)
43 os.rmdir(fname)