From: Joerg Jaspert Date: Tue, 6 Jul 2010 23:57:45 +0000 (+0200) Subject: generate-packages-sources X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;ds=inline;h=c9398d303256dfedc13975b79b6b691048cfcc05;hp=c9398d303256dfedc13975b79b6b691048cfcc05;p=dak.git generate-packages-sources some more changes: - chdir before we call the generate function - dont include architecture all - use commands.getstatusoutput this breaks the try, finally: block. using os.system() it works nicely, but the output is a hell. using commands.getstatusoutput the finally: is called to early, removing the config for apt-ftparchive, breaking it. ugh, bad. - the whole mess with the config inside dbconn.py needs to go, as well as the special cases for the tree configs. should be an aptconf class, but thats a task for when this fully works Signed-off-by: Joerg Jaspert ---