summaryrefslogtreecommitdiff
path: root/apt
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2005-07-29 11:48:44 +0000
committerMichael Vogt <michael.vogt@ubuntu.com>2005-07-29 11:48:44 +0000
commitdaf13af88e15fa27c0d911e87210e897894c5b9d (patch)
tree24713c7f151520e53efd592a7145dfee6a6040e2 /apt
parent910721c4cada633e5b58d97b7a94b97f6dfc7715 (diff)
downloadpython-apt-daf13af88e15fa27c0d911e87210e897894c5b9d.tar.gz
* added copyright header, removed cruft from debian/rules
Diffstat (limited to 'apt')
-rw-r--r--apt/cache.py21
-rw-r--r--apt/package.py21
-rw-r--r--apt/progress.py21
3 files changed, 63 insertions, 0 deletions
diff --git a/apt/cache.py b/apt/cache.py
index 0e18c3b4..23085603 100644
--- a/apt/cache.py
+++ b/apt/cache.py
@@ -1,3 +1,24 @@
+# cache.py - apt cache abstraction
+#
+# Copyright (c) 2005 Canonical
+#
+# Author: Michael Vogt <michael.vogt@ubuntu.com>
+#
+# 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
+
import apt_pkg
from apt import Package
from apt.progress import OpTextProgress
diff --git a/apt/package.py b/apt/package.py
index 87461dad..97752813 100644
--- a/apt/package.py
+++ b/apt/package.py
@@ -1,3 +1,24 @@
+# package.py - apt package abstraction
+#
+# Copyright (c) 2005 Canonical
+#
+# Author: Michael Vogt <michael.vogt@ubuntu.com>
+#
+# 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
+
import apt_pkg, string
import random
diff --git a/apt/progress.py b/apt/progress.py
index 7fbfc09a..d04d64e4 100644
--- a/apt/progress.py
+++ b/apt/progress.py
@@ -1,3 +1,24 @@
+# Progress.py - progress reporting classes
+#
+# Copyright (c) 2005 Canonical
+#
+# Author: Michael Vogt <michael.vogt@ubuntu.com>
+#
+# 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
+
import sys
class OpProgress: