hints: use MigrationItem

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
debian
Adam D. Barratt 11 years ago
parent f284e76cc4
commit 26ad5a9392

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (C) 2011 Adam D. Barratt <adsb@debian.org>
# Copyright (C) 2013 Adam D. Barratt <adsb@debian.org>
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@ -12,7 +12,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
from migrationitem import HintItem
from migrationitem import MigrationItem
class HintCollection(object):
def __init__(self):
@ -57,7 +57,7 @@ class Hint(object):
if isinstance(self._packages, str):
self._packages = self._packages.split(' ')
self._packages = [HintItem(x) for x in self._packages]
self._packages = [MigrationItem(x) for x in self._packages]
def set_active(self, active):
self._active = active

Loading…
Cancel
Save