packagekit/backends/yum/helpers/get-update-detail.py
2007-10-22 12:50:15 +02:00

20 lines
574 B
Python
Executable File

#!/usr/bin/python
#
# Copyright (C) 2007 Richard Hughes <richard@hughsie.com>
#
# Licensed under the GNU General Public License Version 2
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
import sys
from yumBackend import PackageKitYumBackend
package=sys.argv[1]
backend = PackageKitYumBackend(sys.argv[2:])
backend.get_update_detail(package)
backend.unLock()
sys.exit(0)