|
|
@ -1,6 +1,6 @@
|
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
# -*- 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
|
|
|
|
# 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
|
|
|
|
# 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
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
|
|
|
|
|
|
|
|
from migrationitem import HintItem
|
|
|
|
from migrationitem import MigrationItem
|
|
|
|
|
|
|
|
|
|
|
|
class HintCollection(object):
|
|
|
|
class HintCollection(object):
|
|
|
|
def __init__(self):
|
|
|
|
def __init__(self):
|
|
|
@ -57,7 +57,7 @@ class Hint(object):
|
|
|
|
if isinstance(self._packages, str):
|
|
|
|
if isinstance(self._packages, str):
|
|
|
|
self._packages = self._packages.split(' ')
|
|
|
|
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):
|
|
|
|
def set_active(self, active):
|
|
|
|
self._active = active
|
|
|
|
self._active = active
|
|
|
|