diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-11-16 09:03:24 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-11-16 09:03:24 +0000 |
commit | dc098e07f7b54b81cb8ee6b93e15b47f1be10dba (patch) | |
tree | f339787c52711a1987303ef5d875e2b02960682f /net/straw/files/patch-src::lib::Config.py | |
parent | Add a missing dependency on py-xml. (diff) |
Fix a problem where straw wouldn't show any articles if the locale was set
to anything other than C. Also, make sure we persist articles across reboots.
Approved by: maintainer
Notes
Notes:
svn path=/head/; revision=94083
Diffstat (limited to 'net/straw/files/patch-src::lib::Config.py')
-rw-r--r-- | net/straw/files/patch-src::lib::Config.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net/straw/files/patch-src::lib::Config.py b/net/straw/files/patch-src::lib::Config.py new file mode 100644 index 000000000000..227b7adbbdb0 --- /dev/null +++ b/net/straw/files/patch-src::lib::Config.py @@ -0,0 +1,11 @@ +--- src/lib/Config.py.orig Sun Nov 16 03:57:07 2003 ++++ src/lib/Config.py Sun Nov 16 03:58:04 2003 +@@ -364,6 +364,8 @@ + last_poll = property(get_last_poll, set_last_poll, None, "Last polled") + + def get_number_of_items_stored(self): ++ if self._items_stored == 0: ++ return 30 + return self._items_stored + + def set_number_of_items_stored(self, num=30): |