$ 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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1789335
Title:
Get refresh information from snapd
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd-glib/+bug/1789335/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs