~ubuntu-core-dev/update-manager/main

« back to all changes in this revision

Viewing changes to UpdateManager/backend/InstallBackendAptdaemon.py

  • Committer: Benjamin Drung
  • Date: 2023-02-13 13:03:40 UTC
  • Revision ID: benjamin.drung@canonical.com-20230213130340-i79sfmerzdctcpw3
Drop imports only needed for Python 2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/usr/bin/env python
 
1
#!/usr/bin/env python3
2
2
# -*- Mode: Python; indent-tabs-mode: nil; tab-width: 4; coding: utf-8 -*-
3
3
# (c) 2005-2012 Canonical, GPL
4
4
# (C) 2008-2009 Sebastian Heinlein <devel@glatzor.de>
5
5
 
6
 
from __future__ import print_function
7
 
 
8
6
from gi.repository import Gtk
9
7
 
10
8
from aptdaemon import client, errors