mintBackup.py still not fully compliant with python-apt-0.8.0
Bug #829743 reported by
Mike T
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linux Mint |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
guess i missed some things... see http://
working on a patch now.
Changed in linuxmint: | |
assignee: | nobody → M Thompson (hozomean) |
status: | New → In Progress |
Changed in linuxmint: | |
status: | New → Fix Released |
To post a comment you must log in.
/usr/share/ python- apt/migrate- 0.8.py -c /usr/lib/ linuxmint/ mintBackup/ mintBackup. py
migrate-0.8.py - Find all occurences of funcs./attrs. deprecated in 0.8.
Information: Please verify that the results are correct before you modify any
code, because there may be false positives.
Information: The color is not always correct, because we simply highlight the
matched words (like grep).
/usr/lib/ linuxmint/ mintBackup/ mintBackup. py:554: self.description = self.wTree. get_widget( "entry_ desc"). get_text( ) linuxmint/ mintBackup/ mintBackup. py:559: if (self.description != ""): linuxmint/ mintBackup/ mintBackup. py:560: model.append(["<b>" + _("Description") + "</b>", self.description]) linuxmint/ mintBackup/ mintBackup. py:678: self.description = "mintBackup" linuxmint/ mintBackup/ mintBackup. py:681: self.description = desc linuxmint/ mintBackup/ mintBackup. py:688: "description: %s\n" % (self.description) ] linuxmint/ mintBackup/ mintBackup. py:1091: self.conf. description = _("(Not created with the Backup Tool)") linuxmint/ mintBackup/ mintBackup. py:1099: self.wTree. get_widget( "label_ overview_ description_ value") .set_label( self.conf. description) linuxmint/ mintBackup/ mintBackup. py:1115: self.conf. description = _("(Not created with the Backup Tool)") linuxmint/ mintBackup/ mintBackup. py:1121: self.wTree. get_widget( "label_ overview_ description_ value") .set_label( self.conf. description) linuxmint/ mintBackup/ mintBackup. py:1433: desc = "<big>" + pkg.name + "</big>\n<small>" + pkg.installed. summary. replace( "&", "&") + "</small>" linuxmint/ mintBackup/ mintBackup. py:1587: if(cache. has_key( line)): linuxmint/ mintBackup/ mintBackup. py:1589: if(not pkg.isInstalled): linuxmint/ mintBackup/ mintBackup. py:1590: desc = pkg.candidate. summary. replace( "&", "&")
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
Though the "self.decription" calls here are all descendants of the mintBackup class, so don't apply, and according to the API reference, http:// apt.alioth. debian. org/python- apt-doc/ library/ apt.cache. html, cache.has_key() is still relevant within this scope.
I'll be submitting a patch for the other proglems shortly. Sorry for not catching this the first time around.