My proposed fix for this is:
diff --git a/softwareproperties/dbus/SoftwarePropertiesDBus.py b/softwareproperties/dbus/SoftwarePropertiesDBus.py index c22f43b..7683a1a 100644 --- a/softwareproperties/dbus/SoftwarePropertiesDBus.py +++ b/softwareproperties/dbus/SoftwarePropertiesDBus.py @@ -266,7 +266,7 @@ class SoftwarePropertiesDBus(dbus.service.Object, SoftwareProperties): def SetUpdateInterval(self, days, sender=None, conn=None): self._check_policykit_privilege( sender, conn, "com.ubuntu.softwareproperties.applychanges") - self.set_update_interval(days) + self.set_update_interval(int(days))
I'd like to get a +1 before uploading that though.
My proposed fix for this is:
diff --git a/softwareprope rties/dbus/ SoftwarePropert iesDBus. py b/softwareprope rties/dbus/ SoftwarePropert iesDBus. py rties/dbus/ SoftwarePropert iesDBus. py rties/dbus/ SoftwarePropert iesDBus. py iesDBus( dbus.service. Object, SoftwarePropert ies): al(self, days, sender=None, conn=None):
self. _check_ policykit_ privilege(
sender, conn, "com.ubuntu. softwarepropert ies.applychange s") update_ interval( days) update_ interval( int(days) )
index c22f43b..7683a1a 100644
--- a/softwareprope
+++ b/softwareprope
@@ -266,7 +266,7 @@ class SoftwarePropert
def SetUpdateInterv
- self.set_
+ self.set_
I'd like to get a +1 before uploading that though.