The problem occurs when Smart (for whatever reason) was unable to download a certain file, and consequently raises a smart.Error exception.
We now properly catch the exception:
- self._ctrl.commitChangeSet(changeset) + try: + self._ctrl.commitChangeSet(changeset) + except smart.Error, e: + raise TransactionError(e.args[0])
and the PackageChanger will send an error message with information about the failure, as it happens with other errors.
The problem occurs when Smart (for whatever reason) was unable to download a certain file, and consequently raises a smart.Error exception.
We now properly catch the exception:
- self._ctrl. commitChangeSet (changeset) commitChangeSet (changeset) r(e.args[ 0])
+ try:
+ self._ctrl.
+ except smart.Error, e:
+ raise TransactionErro
and the PackageChanger will send an error message with information about the failure, as it happens with other errors.