File: process_error.py

package info (click to toggle)
python-ptrace 0.6.4-2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 620 kB
  • sloc: python: 6,213; ansic: 241; makefile: 13; sh: 1
file content (7 lines) | stat: -rw-r--r-- 206 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
from ptrace.error import PtraceError

class ProcessError(PtraceError):
    def __init__(self, process, message):
        PtraceError.__init__(self, message, pid=process.pid)
        self.process = process