Skip to content

Commit 2eb8e44

Browse files
author
Richard Jones
committed
merge from HEAD
1 parent fd34edf commit 2eb8e44

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

CHANGES.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ are given with the most recent entry first.
33

44
2004-05-?? 0.7.2
55
Fixed:
6-
- fixed anydbm sorting with None values (sf bug 952853)
6+
- anydbm sorting with None values (sf bug 952853)
7+
- roundup-server -g option not recognised (sf bug 952310)
78

89

910
2004-05-07 0.7.1

roundup/backends/back_anydbm.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1717
#
18-
#$Id: back_anydbm.py,v 1.146 2004-05-05 01:52:34 richard Exp $
18+
#$Id: back_anydbm.py,v 1.146.2.1 2004-05-12 22:28:21 richard Exp $
1919
'''This module defines a backend that saves the hyperdatabase in a
2020
database chosen by anydbm. It is guaranteed to always be available in python
2121
versions >2.1.1 (the dumbdbm fallback in 2.1.1 and earlier has several
@@ -1766,6 +1766,11 @@ def filter(self, search_matches, filterspec, sort=(None,None),
17661766
entry.insert(0, v)
17671767
continue
17681768

1769+
# missing (None) values are always sorted first
1770+
if v is None:
1771+
entry.insert(0, v)
1772+
continue
1773+
17691774
if isinstance(propclass, String):
17701775
# it might be a string that's really an integer
17711776
try: tv = int(v)

roundup/scripts/roundup_server.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
"""Command-line script that runs a server over roundup.cgi.client.
1919
20-
$Id: roundup_server.py,v 1.46.2.1 2004-05-09 23:41:13 richard Exp $
20+
$Id: roundup_server.py,v 1.46.2.2 2004-05-12 22:31:37 richard Exp $
2121
"""
2222
__docformat__ = 'restructuredtext'
2323

@@ -434,7 +434,7 @@ def run(port=PORT, success_message=None):
434434

435435
try:
436436
# handle the command-line args
437-
options = 'n:p:u:d:l:hNv'
437+
options = 'n:p:g:u:d:l:hNv'
438438
if RoundupService:
439439
options += 'c'
440440

0 commit comments

Comments
 (0)