X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Flists.py;h=a8d3cedbe03853ee5a061e200a64d25856c48935;hb=c8dddd950800e46332cd82ed8ad8706a88597886;hp=3c5864e168866106eb39d0f12868213ac56c7545;hpb=b161014db61c93d2c48ea27e4e455c0526e767d5;p=dak.git diff --git a/daklib/lists.py b/daklib/lists.py index 3c5864e1..a8d3cedb 100755 --- a/daklib/lists.py +++ b/daklib/lists.py @@ -24,6 +24,8 @@ Helper functions for list generating commands (Packages, Sources). ################################################################################ +from dbconn import get_architecture + def fetch(query, args, session): for (id, path, filename) in session.execute(query, args).fetchall(): yield (id, path + filename)