[test-API 1/3] Remove the unseemly copyright statements in scripts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



There will be a follow up patch to add the copyright statements
in a better manner.

% for i in $(find . -type f -name "*.py"); do \
    sed -i -e '/copyright/,/www\.gnu\.org/d' $i; \
  done
---
 activityfilter.py          |   12 ------------
 casecfgcheck.py            |   12 ------------
 dist/redhat/env_inspect.py |   12 ------------
 env_clear.py               |   12 ------------
 exception.py               |   12 ------------
 generator.py               |   12 ------------
 libvirt-test-api.py        |   12 ------------
 logxmlparser.py            |   12 ------------
 mapper.py                  |   12 ------------
 parser.py                  |   12 ------------
 process.py                 |   12 ------------
 proxy.py                   |   12 ------------
 utils/XMLParser.py         |   12 ------------
 utils/check.py             |   12 ------------
 utils/env_parser.py        |   12 ------------
 utils/format.py            |   12 ------------
 utils/log.py               |   12 ------------
 utils/utils.py             |   12 ------------
 utils/xmlbuilder.py        |   12 ------------
 utils/xmlgenerator.py      |   12 ------------
 20 files changed, 0 insertions(+), 240 deletions(-)

diff --git a/activityfilter.py b/activityfilter.py
index 3e66b44..96428f9 100644
--- a/activityfilter.py
+++ b/activityfilter.py
@@ -1,17 +1,5 @@
 #!/usr/bin/env python
 #
-# libvirt-test-API is copyright 2010, 2012 Red Hat, Inc.
-#
-# libvirt-test-API 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 warranties of TITLE, NON-INFRINGEMENT,
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-#
-# The GPL text is available in the file COPYING that accompanies this
-# distribution and at <http://www.gnu.org/licenses>.
 #
 
 
diff --git a/casecfgcheck.py b/casecfgcheck.py
index 9a4f8e6..86f6fc5 100644
--- a/casecfgcheck.py
+++ b/casecfgcheck.py
@@ -1,17 +1,5 @@
 #!/usr/bin/env python
 #
-# libvirt-test-API is copyright 2010, 2012 Red Hat, Inc.
-#
-# libvirt-test-API 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 warranties of TITLE, NON-INFRINGEMENT,
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-#
-# The GPL text is available in the file COPYING that accompanies this
-# distribution and at <http://www.gnu.org/licenses>.
 #
 
 import proxy
diff --git a/dist/redhat/env_inspect.py b/dist/redhat/env_inspect.py
index 5df12e2..21b532a 100644
--- a/dist/redhat/env_inspect.py
+++ b/dist/redhat/env_inspect.py
@@ -1,17 +1,5 @@
 #!/usr/bin/env python
 #
-# libvirt-test-API is copyright 2010 Red Hat, Inc.
-#
-# libvirt-test-API 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 warranties of TITLE, NON-INFRINGEMENT,
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-#
-# The GPL text is available in the file COPYING that accompanies this
-# distribution and at <http://www.gnu.org/licenses>.
 #
 # Filename: envinspect.py
 # Description: check the testing environment and state of libvirt as well
diff --git a/env_clear.py b/env_clear.py
index 2e5bcf5..65ff732 100644
--- a/env_clear.py
+++ b/env_clear.py
@@ -1,17 +1,5 @@
 #!/usr/bin/env python
 #
-# libvirt-test-API is copyright 2010 Red Hat, Inc.
-#
-# libvirt-test-API 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 warranties of TITLE, NON-INFRINGEMENT,
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-#
-# The GPL text is available in the file COPYING that accompanies this
-# distribution and at <http://www.gnu.org/licenses>.
 #
 # This module matches the reference of clearing function from each testcase
 # to the corresponding testcase's argument in the order of testcase running
diff --git a/exception.py b/exception.py
index 9c2b79f..389925d 100644
--- a/exception.py
+++ b/exception.py
@@ -1,17 +1,5 @@
 #!/usr/bin/env python
 #
-# libvirt-test-API is copyright 2010 Red Hat, Inc.
-#
-# libvirt-test-API 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 warranties of TITLE, NON-INFRINGEMENT,
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-#
-# The GPL text is available in the file COPYING that accompanies this
-# distribution and at <http://www.gnu.org/licenses>.
 #
 # Filename: exception.py
 # Summary: the exception class
diff --git a/generator.py b/generator.py
index 62b0d66..9a81b33 100644
--- a/generator.py
+++ b/generator.py
@@ -1,17 +1,5 @@
 #!/usr/bin/env python
 #
-# libvirt-test-API is copyright 2010, 2012 Red Hat, Inc.
-#
-# libvirt-test-API 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 warranties of TITLE, NON-INFRINGEMENT,
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-#
-# The GPL text is available in the file COPYING that accompanies this
-# distribution and at <http://www.gnu.org/licenses>.
 #
 # This module to initilize log module and match testcase function from
 # proxy with corresponding argument to form a callable function.
diff --git a/libvirt-test-api.py b/libvirt-test-api.py
index 7b38aaa..e812808 100644
--- a/libvirt-test-api.py
+++ b/libvirt-test-api.py
@@ -1,17 +1,5 @@
 #!/usr/bin/env python
 #
-# libvirt-test-API is copyright 2010 Red Hat, Inc.
-#
-# libvirt-test-API 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 warranties of TITLE, NON-INFRINGEMENT,
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-#
-# The GPL text is available in the file COPYING that accompanies this
-# distribution and at <http://www.gnu.org/licenses>.
 #
 
 import os
diff --git a/logxmlparser.py b/logxmlparser.py
index 48e3c51..a0a5fa9 100644
--- a/logxmlparser.py
+++ b/logxmlparser.py
@@ -1,17 +1,5 @@
 #!/usr/bin/env python
 #
-# libvirt-test-API is copyright 2010 Red Hat, Inc.
-#
-# libvirt-test-API 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 warranties of TITLE, NON-INFRINGEMENT,
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-#
-# The GPL text is available in the file COPYING that accompanies this
-# distribution and at <http://www.gnu.org/licenses>.
 #
 # Filename: xmlparser.py
 # Summary: generate xmlfile for log management
diff --git a/mapper.py b/mapper.py
index c2c44da..ffbfc7b 100644
--- a/mapper.py
+++ b/mapper.py
@@ -1,17 +1,5 @@
 #!/usr/bin/env python
 #
-# libvirt-test-API is copyright 2010 Red Hat, Inc.
-#
-# libvirt-test-API 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 warranties of TITLE, NON-INFRINGEMENT,
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-#
-# The GPL text is available in the file COPYING that accompanies this
-# distribution and at <http://www.gnu.org/licenses>.
 #
 # This module help form new lists from original list generated by module parser,
 # the purpose is to get useful information about a testrun.
diff --git a/parser.py b/parser.py
index e569d7f..f4e1e83 100644
--- a/parser.py
+++ b/parser.py
@@ -1,17 +1,5 @@
 #!/usr/bin/env python
 #
-# libvirt-test-API is copyright 2010 Red Hat, Inc.
-#
-# libvirt-test-API 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 warranties of TITLE, NON-INFRINGEMENT,
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-#
-# The GPL text is available in the file COPYING that accompanies this
-# distribution and at <http://www.gnu.org/licenses>.
 #
 # This module is for configuration file parsing, to generate a case list.
 #
diff --git a/process.py b/process.py
index a712816..e2d2bb8 100644
--- a/process.py
+++ b/process.py
@@ -1,17 +1,5 @@
 #!/usr/bin/env python
 #
-# libvirt-test-API is copyright 2010 Red Hat, Inc.
-#
-# libvirt-test-API 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 warranties of TITLE, NON-INFRINGEMENT,
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-#
-# The GPL text is available in the file COPYING that accompanies this
-# distribution and at <http://www.gnu.org/licenses>.
 #
 # Filename: process.py
 # Summary: multiprocessing module
diff --git a/proxy.py b/proxy.py
index 49a0420..799069f 100644
--- a/proxy.py
+++ b/proxy.py
@@ -1,17 +1,5 @@
 #!/usr/bin/env python
 #
-# libvirt-test-API is copyright 2010, 2012 Red Hat, Inc.
-#
-# libvirt-test-API 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 warranties of TITLE, NON-INFRINGEMENT,
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-#
-# The GPL text is available in the file COPYING that accompanies this
-# distribution and at <http://www.gnu.org/licenses>.
 #
 # Generate a list of callable function references.
 
diff --git a/utils/XMLParser.py b/utils/XMLParser.py
index d872b67..d19cfd9 100644
--- a/utils/XMLParser.py
+++ b/utils/XMLParser.py
@@ -1,17 +1,5 @@
 #!/usr/bin/env python
 #
-# libvirt-test-API is copyright 2010 Red Hat, Inc.
-#
-# libvirt-test-API 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 warranties of TITLE, NON-INFRINGEMENT,
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-#
-# The GPL text is available in the file COPYING that accompanies this
-# distribution and at <http://www.gnu.org/licenses>.
 #
 # Filename: XMLParser.py
 # Summary: parse and xml document into a python dictionary
diff --git a/utils/check.py b/utils/check.py
index b3002ee..01e0ed8 100644
--- a/utils/check.py
+++ b/utils/check.py
@@ -1,17 +1,5 @@
 #!/usr/bin/env python
 #
-# libvirt-test-API is copyright 2010 Red Hat, Inc.
-#
-# libvirt-test-API 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 warranties of TITLE, NON-INFRINGEMENT,
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-#
-# The GPL text is available in the file COPYING that accompanies this
-# distribution and at <http://www.gnu.org/licenses>.
 #
 # Filename: check.py
 # Summary: basic check operation needed by test
diff --git a/utils/env_parser.py b/utils/env_parser.py
index ec576cb..13d80c1 100644
--- a/utils/env_parser.py
+++ b/utils/env_parser.py
@@ -1,17 +1,5 @@
 #!/usr/bin/env python
 #
-# libvirt-test-API is copyright 2010 Red Hat, Inc.
-#
-# libvirt-test-API 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 warranties of TITLE, NON-INFRINGEMENT,
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-#
-# The GPL text is available in the file COPYING that accompanies this
-# distribution and at <http://www.gnu.org/licenses>.
 #
 # Filename: env_parser.py
 # Summary: parse the env configuration file
diff --git a/utils/format.py b/utils/format.py
index 7ee5eca..3a0d54b 100644
--- a/utils/format.py
+++ b/utils/format.py
@@ -1,17 +1,5 @@
 #!/usr/bin/env python
 #
-# libvirt-test-API is copyright 2010 Red Hat, Inc.
-#
-# libvirt-test-API 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 warranties of TITLE, NON-INFRINGEMENT,
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-#
-# The GPL text is available in the file COPYING that accompanies this
-# distribution and at <http://www.gnu.org/licenses>.
 #
 # Filename: format.py
 # Summary: generate specified kind of format string
diff --git a/utils/log.py b/utils/log.py
index b146956..50f38c2 100644
--- a/utils/log.py
+++ b/utils/log.py
@@ -1,17 +1,5 @@
 #!/usr/bin/env python
 #
-# libvirt-test-API is copyright 2010 Red Hat, Inc.
-#
-# libvirt-test-API 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 warranties of TITLE, NON-INFRINGEMENT,
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-#
-# The GPL text is available in the file COPYING that accompanies this
-# distribution and at <http://www.gnu.org/licenses>.
 #
 # Filename: log.py
 # Summary: log file operation
diff --git a/utils/utils.py b/utils/utils.py
index 3848aca..07a87cf 100644
--- a/utils/utils.py
+++ b/utils/utils.py
@@ -1,17 +1,5 @@
 #!/usr/bin/env python
 #
-# libvirt-test-API is copyright 2010 Red Hat, Inc.
-#
-# libvirt-test-API 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 warranties of TITLE, NON-INFRINGEMENT,
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-#
-# The GPL text is available in the file COPYING that accompanies this
-# distribution and at <http://www.gnu.org/licenses>.
 #
 
 import os
diff --git a/utils/xmlbuilder.py b/utils/xmlbuilder.py
index 8c989c8..5a4101c 100644
--- a/utils/xmlbuilder.py
+++ b/utils/xmlbuilder.py
@@ -1,17 +1,5 @@
 #!/usr/bin/env python
 #
-# libvirt-test-API is copyright 2010 Red Hat, Inc.
-#
-# libvirt-test-API 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 warranties of TITLE, NON-INFRINGEMENT,
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-#
-# The GPL text is available in the file COPYING that accompanies this
-# distribution and at <http://www.gnu.org/licenses>.
 #
 # Filename: xmlbuilder.py
 # Summary: operation for building domain xml
diff --git a/utils/xmlgenerator.py b/utils/xmlgenerator.py
index aca0062..79c802a 100644
--- a/utils/xmlgenerator.py
+++ b/utils/xmlgenerator.py
@@ -1,17 +1,5 @@
 #!/usr/bin/env python
 #
-# libvirt-test-API is copyright 2010 Red Hat, Inc.
-#
-# libvirt-test-API 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 warranties of TITLE, NON-INFRINGEMENT,
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-#
-# The GPL text is available in the file COPYING that accompanies this
-# distribution and at <http://www.gnu.org/licenses>.
 #
 # Filename: xmlgenerator.py
 # Summary: generate domain xml
-- 
1.7.7.3

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]