]> err.no Git - dak/commit
daklib/upload.py: add from_file classmethods
authorAnsgar Burchardt <ansgar@debian.org>
Wed, 7 Nov 2012 13:47:22 +0000 (14:47 +0100)
committerAnsgar Burchardt <ansgar@debian.org>
Wed, 7 Nov 2012 13:47:22 +0000 (14:47 +0100)
commit11b25f20ef4be9493992b96dd7006ed7ca26bdd8
treebe50c4619c5237280a310eab307972f1e8fa48ad
parent6ced52f2a51821cdcb79a11ccd8116a39464f4d0
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.
daklib/upload.py