1 |
unnilennium |
1.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): |