commit 673f3e9a6bf8391be2ddad3acb8c5880d7002add
parent 1a678b0c3802376d0963377fbf261b4e19866771
Author: Nick Mathewson <nickm@torproject.org>
Date: Thu, 7 Dec 2006 04:40:59 +0000
r11437@Kushana: nickm | 2006-12-06 21:27:30 -0500
remove some obsoleted parts from anonbib.cfg. Update copyright dates.
svn:r193
Diffstat:
9 files changed, 10 insertions(+), 25 deletions(-)
diff --git a/BibTeX.py b/BibTeX.py
@@ -1,5 +1,5 @@
#!/usr/bin/python2
-# Copyright 2003-2004, Nick Mathewson. See LICENSE for licensing info.
+# Copyright 2003-2006, Nick Mathewson. See LICENSE for licensing info.
"""BibTeX.py -- parse and manipulate BibTeX files and entries.
diff --git a/README b/README
@@ -1,6 +1,6 @@
anonbib 0.2 -- Code to generate the anonymity bibliography
-Copyright (c) 2003-2004 Nick Mathewson
+Copyright (c) 2003-2006 Nick Mathewson
Based on 'PDOSBib' perl code by Eddie Kohler
This software is licensed under the GNU GPL, version 2 or later.
diff --git a/anonbib.bib b/anonbib.bib
@@ -1,4 +1,5 @@
%
+%
% Magic fields:
% www_section -- the topic used under 'topics.html'
% www_{ps|pdf|ps_gz|txt|html|abstract}_url -- link for text/abstract of
diff --git a/anonbib.cfg b/anonbib.cfg
@@ -1,6 +1,4 @@
-# Copyright 2003-2004, Nick Mathewson. See LICENSE for licensing info.
-
-import re
+# Copyright 2003-2006, Nick Mathewson. See LICENSE for licensing info.
# Our input filename.
MASTER_BIB = "./anonbib.bib"
@@ -18,6 +16,7 @@ CACHE_SECTIONS = [ ]
# Timeout when downloading from a server while caching, in seconds.
DOWNLOAD_CONNECT_TIMEOUT = 15
+# Template files.
TEMPLATE_FILE = "./_template_.html"
BIBTEX_TEMPLATE_FILE = "./_template_bibtex.html"
@@ -116,18 +115,3 @@ INITIAL_STRINGS = {
# Don't put in any entries of this type.
OMIT_ENTRIES = ("proceedings", "journal")
-
-
-### Don't edit below this line
-
-AUTHOR_RE_LIST = [
- (re.compile(k, re.I), v,) for k, v in AUTHOR_URLS.items()
- ]
-
-NO_COLLAPSE_AUTHORS_RE_LIST = [
- re.compile(pat, re.I) for pat in NO_COLLAPSE_AUTHORS
- ]
-
-ALPHABETIZE_AUTHOR_AS_RE_LIST = [
- (re.compile(k, re.I), v,) for k,v in ALPHABETIZE_AUTHOR_AS.items()
- ]
diff --git a/config.py b/config.py
@@ -1,4 +1,4 @@
-# Copyright 2003-2004, Nick Mathewson. See LICENSE for licensing info.
+# Copyright 2003-2006, Nick Mathewson. See LICENSE for licensing info.
import re
diff --git a/reconcile.py b/reconcile.py
@@ -1,5 +1,5 @@
#!/usr/bin/python2
-# Copyright 2003-2004, Nick Mathewson. See LICENSE for licensing info.
+# Copyright 2003-2006, Nick Mathewson. See LICENSE for licensing info.
"""Code to determine which entries are new and which are old.
diff --git a/tests.py b/tests.py
@@ -1,5 +1,5 @@
#!/usr/bin/python2
-# Copyright 2004, Nick Mathewson. See LICENSE for licensing info.
+# Copyright 2004-2006, Nick Mathewson. See LICENSE for licensing info.
"""Unit tests for anonbib."""
diff --git a/updateCache.py b/updateCache.py
@@ -1,5 +1,5 @@
#!/usr/bin/python
-# Copyright 2003-2004, Nick Mathewson. See LICENSE for licensing info.
+# Copyright 2003-2006, Nick Mathewson. See LICENSE for licensing info.
"""Download files in bibliography into a local cache.
"""
diff --git a/writeHTML.py b/writeHTML.py
@@ -1,5 +1,5 @@
#!/usr/bin/python
-# Copyright 2003-2004, Nick Mathewson. See LICENSE for licensing info.
+# Copyright 2003-2006, Nick Mathewson. See LICENSE for licensing info.
"""Generate indices by author, topic, date, and BibTeX key."""