view bin/treepkginfo.py @ 396:343af65e808b treepkg-status

Bugfix: source was not defined
author Bjoern Ricks <bricks@intevation.de>
date Fri, 09 Jul 2010 14:19:17 +0000
parents e2afbd3c2bf1
children 04310ad0063e
line wrap: on
line source
#! /usr/bin/python
# Copyright (C) 2010 by Intevation GmbH
# Authors:
# Bjoern Ricks <bjoern.ricks@intevation.de>
#
# This program is free software under the GPL (>=v2)
# Read the file COPYING coming with the software for details.

"""Receive the status of a treepkg"""

import treepkgcmd

from treepkg.info import status

from treepkg.options import create_parser

def parse_commandline():
    parser = create_parser()
 
    return parser.parse_args()

def main():
    options, args = parse_commandline()

    tpkginfo = status.TreepkgInfo(options.config_file)

main()
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)