]> git.pld-linux.org Git - projects/pld-ftp-admin.git/blame - bin/pfa-unlocktree
- simple tool to verify if packages are signed
[projects/pld-ftp-admin.git] / bin / pfa-unlocktree
CommitLineData
72d390c0
AM
1#!/usr/bin/env python
2# vi: encoding=utf-8 ts=8 sts=4 sw=4 et
3
4import sys, os
5sys.path.insert(0, os.environ['HOME']+'/pld-ftp-admin/modules')
6import ftptree
7import ftpio
8import config
9
10if len(sys.argv) < 2:
11 print "ERR: not enough parameters given"
12 print "unlock.py tree"
13 sys.exit(1)
14
eb8e9c84
ER
15for tree in sys.argv[1:]:
16 ftpio.connect()
17 print "Unlock %s: %s" % (tree, ftpio.unlock(sys.argv[1]))
This page took 0.111314 seconds and 4 git commands to generate.