Merge branch 'master' of https://git.maemo.org/projects/feedingit
authorYves Marcoz <yves@marcoz.org>
Fri, 6 Jan 2012 00:20:50 +0000 (16:20 -0800)
committerYves Marcoz <yves@marcoz.org>
Fri, 6 Jan 2012 00:20:50 +0000 (16:20 -0800)
Conflicts:
debian/changelog

debian/changelog
psa_harmattan/feedingit/pysrc/config.py
psa_harmattan/feedingit/pysrc/rss_sqlite.py

index 817e28b..6ae786d 100644 (file)
@@ -4,6 +4,11 @@ feedingit (0.9.1-6) stable; urgency=low
 
  -- Yves <yves@marcoz.org>  Thu, 29 Dec 2011 21:51:19 -0800
 
+feedingit (0.9.1-5) stable; urgency=low
+
+  * Fixed bugs for automatic update and settings
+
+ -- Yves <yves@marcoz.org>  Wed, 28 Dec 2011 21:51:19 -0800
 
 feedingit (0.9.1-4) stable; urgency=low
 
index d6a9e8d..7911299 100644 (file)
@@ -236,7 +236,7 @@ class Config():
                   (configParser.getboolean, "autoupdate", False),
                   (configParser.getboolean, "woodchuck", True),
                   (configParser.getboolean, "askedAboutWoodchuck", False),
-                  (configParser.getint, "updateInterval", 4),
+                  (configParser.getfloat, "updateInterval", 4),
                   (configParser.get, "orientation", "Automatic"),
                   (configParser.getboolean, "imageCache", False),
                   (configParser.getboolean, "proxy", True),
index 3d9b32d..867e1af 100644 (file)
@@ -1055,7 +1055,7 @@ class Listing(BaseObject):
                 # Unregister any streams that are no longer subscribed to.
                 for id in stream_ids:
                     logger.debug("Unregistering %s" % (id,))
-                    w.stream_unregister (id)
+                    wc().stream_unregister (id)
         except Exception:
             logger.exception("Registering streams with Woodchuck")