diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2003-09-27 02:06:47 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2003-09-27 02:06:47 +0000 |
commit | a44daadb5a2ff8700719523c7eda4569c6a33c4a (patch) | |
tree | 46e9fbe9f1ff799ae23bab3ac8dcb22bdb7e1fb9 /app-portage | |
parent | try to turn off keyword expansion (diff) | |
download | gentoo-2-a44daadb5a2ff8700719523c7eda4569c6a33c4a.tar.gz gentoo-2-a44daadb5a2ff8700719523c7eda4569c6a33c4a.tar.bz2 gentoo-2-a44daadb5a2ff8700719523c7eda4569c6a33c4a.zip |
remove temporarily
Diffstat (limited to 'app-portage')
-rw-r--r-- | app-portage/lintool/files/lintool-0.2.4-fixyear.diff | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/app-portage/lintool/files/lintool-0.2.4-fixyear.diff b/app-portage/lintool/files/lintool-0.2.4-fixyear.diff deleted file mode 100644 index 32f582599bce..000000000000 --- a/app-portage/lintool/files/lintool-0.2.4-fixyear.diff +++ /dev/null @@ -1,27 +0,0 @@ ---- lintool-0.2.4.orig/src/lintool/ebuild.py 2002-10-30 13:35:31.000000000 -0800 -+++ lintool-0.2.4/src/lintool/ebuild.py 2003-09-25 18:22:30.000000000 -0700 -@@ -7,6 +7,7 @@ - import os - import os.path - import string -+from time import gmtime, time, strftime - - class TestSpaces(Test): - -@@ -56,12 +57,14 @@ - - def __init__(self, formatter, options): - Test.__init__(self,formatter, options) -+ # get current year -+ currentyear = strftime("%Y",gmtime(time())) - self.desc = "Testing for malformed headers" - self.want = [ [ 0, # count -- re.compile("^(# Copyright .*2002.*)"), -+ re.compile("^(# Copyright .*"+currentyear+".*)"), - "Copyright statement" ], - [ 0, # count -- re.compile("^(# \$Header:.*\$)"), -+ re.compile("^(# \$Header.*\$)"), - "\$Header: \$" ], - [ 0, # count - re.compile("^(# Distributed under the terms of the GNU General Public License.*)"), |