summaryrefslogblamecommitdiffstats
path: root/net/straw/files/patch-src::lib::Config.py
blob: a5c3debd01c326b85a2cfa5510b8103f7c1ebdee (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                          
--- src/lib/Config.py.orig  Tue Aug 24 02:19:12 2004
+++ src/lib/Config.py   Tue Aug 24 02:20:06 2004
@@ -369,6 +369,8 @@
     last_poll = property(get_last_poll, set_last_poll, doc="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):