$ python
Python 2.7.15rc1 (default, Apr 15 2018, 21:51:34)
[GCC 7.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from gi.repository import Snapd
__main__:1: PyGIWarning: Snapd was imported without specifying a version first.
Use gi.require_version('Snapd', '1') before import to ensure that the right
version gets loaded.
>>> c = Snapd.Client()
>>> i = c.get_system_information_sync()
>>> print (i.get_refresh_next().format('%F %R'))
2018-09-21 18:11
>>>
works.
** Tags removed: verification-needed-bionic
** Tags added: verification-done-bionic
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to snapd-glib in Ubuntu.
https://bugs.launchpad.net/bugs/1789335
Title:
Get refresh information from snapd
Status in snapd-glib package in Ubuntu:
Fix Released
Status in snapd-glib source package in Bionic:
Fix Committed
Status in snapd-glib source package in Cosmic:
Fix Released
Bug description:
[Impact]
snapd provides information on the refresh schedule which is not exposed in
snapd-glib
[Test Case]
Check the following Python program works:
from gi.repository import Snapd
c = Snapd.Client ()
i = c.get_system_information_sync ()
print (i.get_refresh_next().format ('%F %R'))
[Regression Potential]
Chance of new parsing code introducing bugs.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd-glib/+bug/1789335/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp