diff options
author | josch <j.schauer@email.de> | 2014-12-16 08:24:59 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2014-12-16 12:49:36 +0100 |
commit | e4a29f3ee3f4a1cad9ac75862ecff713164f3f12 (patch) | |
tree | 8edb6d56dc4154193a2dd1e5c7b28d2d4f510f34 /extract_binary_control.py | |
parent | 231acc059f76e930937cfa2104ac5e012ea833d0 (diff) | |
download | jenkins.debian.net-e4a29f3ee3f4a1cad9ac75862ecff713164f3f12.tar.xz |
use dpkg-deb /dev/stdin instead of arpy
Diffstat (limited to 'extract_binary_control.py')
-rwxr-xr-x | extract_binary_control.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/extract_binary_control.py b/extract_binary_control.py deleted file mode 100755 index 1b498ba1..00000000 --- a/extract_binary_control.py +++ /dev/null @@ -1,11 +0,0 @@ -#!/usr/bin/env python3 - -import arpy -import sys - -ar=arpy.Archive(fileobj=sys.stdin.buffer) - -for f in ar: - if f.header.name == b"control.tar.gz": - sys.stdout.buffer.write(f.read()) - break |