Patch to fix Python DeprecationWarning from update-manager

Bug #340781 reported by Roland Dreier
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Software Updater
Confirmed
Undecided
Unassigned
Nominated for Main by Alexey Molchanov

Bug Description

With update-manager 0.99, the following is printed on the console at startup on a Jaunty system (python 2.6):

/usr/lib/python2.6/dist-packages/UpdateManager/UpdateManager.py:188: DeprecationWarning: integer argument expected, got float
  self.gconfclient.set_int("/apps/update-manager/launch_time", time.time())

the attached patch fixes it for me.

Revision history for this message
Roland Dreier (roland.dreier) wrote :
Changed in update-manager:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.