bricks@392: #! /usr/bin/python bricks@392: # Copyright (C) 2010 by Intevation GmbH bricks@392: # Authors: bricks@392: # Bjoern Ricks bricks@392: # bricks@392: # This program is free software under the GPL (>=v2) bricks@392: # Read the file COPYING coming with the software for details. bricks@392: bricks@392: """Receive the status of a treepkg""" bricks@392: bricks@392: import treepkgcmd bricks@392: bricks@392: from treepkg.info import status bricks@392: bricks@392: from treepkg.options import create_parser bricks@392: bricks@392: def parse_commandline(): bricks@392: parser = create_parser() bricks@392: bricks@392: return parser.parse_args() bricks@392: bricks@392: def main(): bricks@392: options, args = parse_commandline() bricks@392: bricks@392: tpkginfo = status.TreepkgInfo(options.config_file) bricks@392: bricks@392: main()