/[smecontribs]/rpms/mailman/contribs7/mailman-2.1.5-moderator-request.patch
ViewVC logotype

Contents of /rpms/mailman/contribs7/mailman-2.1.5-moderator-request.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (show annotations) (download)
Tue Nov 25 16:20:13 2008 UTC (15 years, 5 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +0 -0 lines
Restore

1 --- /usr/local/src/mailman-2.1.5/Mailman/ListAdmin.py-2.1.5 2004-02-29 12:55:27.000000000 +0900
2 +++ Mailman/ListAdmin.py 2004-06-10 22:44:39.373711240 +0900
3 @@ -83,6 +83,8 @@
4 except IOError, e:
5 if e.errno <> errno.ENOENT: raise
6 self.__db = {}
7 + # put version number in new database
8 + self.__db['version'] = IGN, mm_cfg.REQUESTS_FILE_SCHEMA_VERSION
9
10 def __closedb(self):
11 if self.__db is not None:
12 @@ -122,7 +124,7 @@
13
14 def NumRequestsPending(self):
15 self.__opendb()
16 - # Subtrace one for the version pseudo-entry
17 + # Subtract one for the version pseudo-entry
18 return len(self.__db) - 1
19
20 def __getmsgids(self, rtype):

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed