File: knockpy.py

package info (click to toggle)
knockpy 8.0.0-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 324 kB
  • sloc: python: 545; makefile: 3
file content (17 lines) | stat: -rw-r--r-- 297 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/python3
# -*- coding: utf-8 -*-

import os
import sys

from knock.knockpy import main

if __name__ == "__main__":
    try:
        main()
    except KeyboardInterrupt:
        print("\nInterrupted")
        try:
            sys.exit(0)
        except SystemExit:
            os._exit(0)