diff options
author | Helmut Grohne <helmut@subdivi.de> | 2013-02-20 19:04:18 +0100 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2013-02-20 19:04:18 +0100 |
commit | b94b3f61f97d906cb88009688db3d70af5acd877 (patch) | |
tree | e095074a32b599137cf7f2ad12a982429ba1c6df /test.py | |
parent | f88fe1870ab28a09c9236057c075da3a1f3aa481 (diff) | |
download | debian-dedup-b94b3f61f97d906cb88009688db3d70af5acd877.tar.gz |
implement autoimport
Diffstat (limited to 'test.py')
-rwxr-xr-x | test.py | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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() |