~xubuntu-dev/ubuntu-cdimage/xubuntu-base

« back to all changes in this revision

Viewing changes to bin/make-torrents

  • Committer: Colin Watson
  • Date: 2015-11-11 20:06:02 UTC
  • Revision ID: cjwatson@canonical.com-20151111200602-qnvzay2loalmfkxn
Add support for signing with multiple keys.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
import sys
23
23
 
24
24
sys.path.insert(0, os.path.join(sys.path[0], os.pardir, "lib"))
25
 
from cdimage.config import Config
26
 
from cdimage.tree import Tree
27
25
 
28
26
 
29
27
def main():
 
28
    from cdimage.config import Config
 
29
    from cdimage.tree import Tree
 
30
 
30
31
    parser = OptionParser("%prog DIRECTORY OFFICIAL [PREFIX]")
31
32
    _, args = parser.parse_args()
32
33
    if len(args) < 1: