python API: added license text to source file and added an api version
This commit is contained in:
parent
cc6f7c3c34
commit
cdc235ed26
@ -15,6 +15,8 @@ import dbus
|
||||
from enums import *
|
||||
from misc import *
|
||||
|
||||
__api_version__ = '0.1.0'
|
||||
|
||||
class PackageKitError(Exception):
|
||||
'''PackageKit error.
|
||||
|
||||
|
@ -1,7 +1,23 @@
|
||||
#!/usr/bin/python
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
#
|
||||
# (c) 2008
|
||||
## Tim Lauridsen <timlau@fedoraproject.org>
|
||||
# Tim Lauridsen <timlau@fedoraproject.org>
|
||||
|
||||
# Misc classes and funtions
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user