summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Ipsum <richard.ipsum@codethink.co.uk>2014-12-02 14:29:21 +0000
committerRichard Ipsum <richard.ipsum@codethink.co.uk>2014-12-02 14:29:21 +0000
commit609672e82308cd4ed54ec8066afb9d933c66049c (patch)
treef1b900cdc366db64d055cba3b6b937a1f891c78f
parent79850a91ae255165c9f3cb46bdd4f258090defa4 (diff)
downloadimport-609672e82308cd4ed54ec8066afb9d933c66049c.tar.gz
Remove all the signal test stuff
-rwxr-xr-xexts/pip.find_deps16
1 files changed, 0 insertions, 16 deletions
diff --git a/exts/pip.find_deps b/exts/pip.find_deps
index a63e54a..bc0317b 100755
--- a/exts/pip.find_deps
+++ b/exts/pip.find_deps
@@ -295,22 +295,6 @@ def handler(signal, frame):
sys.exit(1)
def main():
-
- signal.signal(signal.SIGTERM, handler)
-
- i = 0
- try:
- while True:
- i += 1
- logging.debug(i)
- except BaseException as e:
- with open('/tmp/interrupt.txt', 'w') as f:
- f.write('hello there at %d\n' % i)
- f.write('Got exception %s\n' % str(type(e)))
- f.write('As str %s\n' % str(e))
- f.flush()
- raise
-
if len(sys.argv) not in [3, 4]:
print('usage: %s PACKAGE_SOURCE_DIR NAME [VERSION]' % sys.argv[0])
sys.exit(1)