示例#1
0
文件: fslock.py 项目: nramm/maskiton
 def release(self):
     fsops.remove(self.mylockpath)
     fsops.remove(self.lockpath)
     for event in self.handlers:
         signal.signal(event,self.handlers[event])
     self.handlers = {}
示例#2
0
文件: fsjail.py 项目: nramm/maskiton
 def rm(self,path=None):
     fsops.remove(self.join(path))