summaryrefslogtreecommitdiff
path: root/test.py
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2013-02-20 19:04:18 +0100
committerHelmut Grohne <helmut@subdivi.de>2013-02-20 19:04:18 +0100
commitb94b3f61f97d906cb88009688db3d70af5acd877 (patch)
treee095074a32b599137cf7f2ad12a982429ba1c6df /test.py
parentf88fe1870ab28a09c9236057c075da3a1f3aa481 (diff)
downloaddebian-dedup-b94b3f61f97d906cb88009688db3d70af5acd877.tar.gz
implement autoimport
Diffstat (limited to 'test.py')
-rwxr-xr-xtest.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/test.py b/test.py
index a9761a9..a45720a 100755
--- a/test.py
+++ b/test.py
@@ -313,9 +313,7 @@ def process_package(db, filelike):
def main():
db = sqlite3.connect("test.sqlite3")
-
- with open(sys.argv[1]) as pkg:
- process_package(db, pkg)
+ process_package(db, sys.stdin)
if __name__ == "__main__":
main()