diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2009-02-09 22:20:11 -0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2009-02-09 22:20:11 -0200 |
commit | 1f3a9814caedc2fb87f4557c6ea0f5178ff30a45 (patch) | |
tree | 10d8208286a69fb3c2e69fb1c6796a7fcec93e54 | |
parent | 411a8ae658510961d1cb3e83da3d6d213103b3d0 (diff) | |
download | python-linux-procfs-1f3a9814caedc2fb87f4557c6ea0f5178ff30a45.tar.gz |
Add shebangs and licensesv0.4.3
Part of the fedora review process.
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-rw-r--r-- | procfs/__init__.py | 21 | ||||
-rwxr-xr-x | procfs/procfs.py | 16 | ||||
-rwxr-xr-x | procfs/sysctl.py | 16 | ||||
-rwxr-xr-x | procfs/utilist.py | 16 | ||||
-rw-r--r-- | rpm/SPECS/python-linux-procfs.spec | 5 |
5 files changed, 72 insertions, 2 deletions
diff --git a/procfs/__init__.py b/procfs/__init__.py index 8e3a449..8d5f68b 100644 --- a/procfs/__init__.py +++ b/procfs/__init__.py @@ -1,5 +1,24 @@ +#! /usr/bin/python +# -*- python -*- +# -*- coding: utf-8 -*- +# +# Copyright (C) 2008, 2009 Red Hat, Inc. +# +# 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; version 2 of the License. +# +# 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., 675 Mass Ave, Cambridge, MA 02139, USA. +# """ -Copyright (c) 2008 Red Hat Inc. +Copyright (c) 2008, 2009 Red Hat Inc. Abstractions to extract information from the Linux kernel /proc files. """ diff --git a/procfs/procfs.py b/procfs/procfs.py index 9621c4e..d8e6174 100755 --- a/procfs/procfs.py +++ b/procfs/procfs.py @@ -1,6 +1,22 @@ #! /usr/bin/python # -*- python -*- # -*- coding: utf-8 -*- +# +# Copyright (C) 2007 Red Hat, Inc. +# +# 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; version 2 of the License. +# +# 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., 675 Mass Ave, Cambridge, MA 02139, USA. +# import os, time, utilist diff --git a/procfs/sysctl.py b/procfs/sysctl.py index c49bc54..5577969 100755 --- a/procfs/sysctl.py +++ b/procfs/sysctl.py @@ -1,6 +1,22 @@ #! /usr/bin/python # -*- python -*- # -*- coding: utf-8 -*- +# +# Copyright (C) 2007 Red Hat, Inc. +# +# 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; version 2 of the License. +# +# 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., 675 Mass Ave, Cambridge, MA 02139, USA. +# class sysctl: def __init__(self): diff --git a/procfs/utilist.py b/procfs/utilist.py index 23fa171..18645c0 100755 --- a/procfs/utilist.py +++ b/procfs/utilist.py @@ -1,6 +1,22 @@ #! /usr/bin/python # -*- python -*- # -*- coding: utf-8 -*- +# +# Copyright (C) 2007 Red Hat, Inc. +# +# 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; version 2 of the License. +# +# 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., 675 Mass Ave, Cambridge, MA 02139, USA. +# def hexbitmask(l, nr_entries): hexbitmask = [] diff --git a/rpm/SPECS/python-linux-procfs.spec b/rpm/SPECS/python-linux-procfs.spec index 4754354..e889a5c 100644 --- a/rpm/SPECS/python-linux-procfs.spec +++ b/rpm/SPECS/python-linux-procfs.spec @@ -2,7 +2,7 @@ %{!?python_ver: %define python_ver %(%{__python} -c "import sys ; print sys.version[:3]")} Name: python-linux-procfs -Version: 0.4.2 +Version: 0.4.3 Release: 1%{?dist} License: GPLv2 Summary: Linux /proc abstraction classes @@ -37,6 +37,9 @@ rm -rf %{buildroot} %endif %changelog +* Mon Feb 9 2009 Arnaldo Carvalho de Melo <acme@redhat.com> - 0.4.3-1 +- Fixups due to the fedora review process + * Tue Aug 12 2008 Arnaldo Carvalho de Melo <acme@redhat.com> - 0.4.2-1 - interrupts: Add find_by_user_regex - process: Always set the "cmdline" array, even if empty |