From 2d39544e07d90d6f351d55930ce917d9715a7946 Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Thu, 16 Apr 2015 17:56:24 +0200 Subject: tempfile.mkdtemp does not like bytes in py3k --- autoimport.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoimport.py b/autoimport.py index 3076f6e..76e9962 100755 --- a/autoimport.py +++ b/autoimport.py @@ -91,7 +91,7 @@ def main(): default="test.sqlite3", help="path to the sqlite3 database file") options, args = parser.parse_args() - tmpdir = tempfile.mkdtemp(prefix=b"debian-dedup") + tmpdir = tempfile.mkdtemp(prefix="debian-dedup") db = sqlite3.connect(options.database) cur = db.cursor() cur.execute("PRAGMA foreign_keys = ON;") -- cgit v1.2.3