From: Ansgar Burchardt Date: Wed, 7 Nov 2012 13:47:22 +0000 (+0100) Subject: daklib/upload.py: add from_file classmethods X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=11b25f20ef4be9493992b96dd7006ed7ca26bdd8;hp=11b25f20ef4be9493992b96dd7006ed7ca26bdd8;p=dak.git daklib/upload.py: add from_file classmethods Allow to create HashedFile, Binary and Source objects from existing files. This will be used to directly import binary and source packages into an archive. ---