These are my statements from' DistUpgradeControler.py':
[...]
# My debug
logging.debug("Debug 1")
# ask the user if he wants to do the changes
res = self._view.confirmChanges(_("Do you want to start the upgrade?"), changes, self.cache.requiredDownload)
# My debug
logging.debug("Debug 2")
[...]
Result: Debug 1 appears in the log, Debug 2 doesnt. I traced the confirmChanges function with debug statements to the line of code mentioned in the comment above.
For further clarification...
These are my statements from' DistUpgradeCont roler.py' :
[...] debug(" Debug 1")
# My debug
logging.
# ask the user if he wants to do the changes confirmChanges( _("Do you want to start the upgrade?"),
changes,
self. cache.requiredD ownload)
res = self._view.
# My debug debug(" Debug 2")
logging.
[...]
Result: Debug 1 appears in the log, Debug 2 doesnt. I traced the confirmChanges function with debug statements to the line of code mentioned in the comment above.
Hope this helps.