示例#1
0
 def __init__(self, action, target, source=None):
     self.action = action
     # FIXME: We need to sort out the verbosity for file system events
     if self.action == self.COPY:
         self.level = Event.V
     self.target = target
     self.source = source
     Event.__init__(self, action, target, source)
示例#2
0
文件: fs_util.py 项目: kinow/rose
 def __init__(self, action, target, source=None):
     self.action = action
     # FIXME: We need to sort out the verbosity for file system events
     if self.action == self.COPY:
         self.level = Event.V
     self.target = target
     self.source = source
     Event.__init__(self, action, target, source)
示例#3
0
 def __init__(self, job):
     Event.__init__(self, job)
     if job.event_level is not None:
         self.level = job.event_level
示例#4
0
 def __init__(self, *args):
     Event.__init__(self, *args)
     self.browser, self.url = args
示例#5
0
文件: popen.py 项目: arjclark/rose
 def __init__(self, command, stdin):
     self.command = command
     self.stdin = stdin
     Event.__init__(self, command, stdin)
示例#6
0
 def __init__(self, job):
     Event.__init__(self, job)
     if job.event_level is not None:
         self.level = job.event_level
示例#7
0
 def __init__(self, name, location):
     Event.__init__(self, name, location)
     self.name = name
     self.location = location
示例#8
0
文件: fs_util.py 项目: jimbolton/rose
 def __init__(self, action, target, source=None):
     self.action = action
     self.target = target
     self.source = source
     Event.__init__(self, action, target, source)
示例#9
0
 def __init__(self, command, stdin):
     self.command = command
     self.stdin = stdin
     Event.__init__(self, command, stdin)
示例#10
0
 def __init__(self, name, location):
     Event.__init__(self, name, location)
     self.name = name
     self.location = location
示例#11
0
 def __init__(self, *args):
     Event.__init__(self, *args)
     self.browser, self.url = args
示例#12
0
 def __init__(self, target, source):
     self.target = target
     self.source = source
     Event.__init__(self, target, source)