CSUIDL PROGRAMMEr wrote:
> I am trying to write a user defined exception that will catch for
> failed dependencies when a rpm is installed
>
> try:
> rpm -ivh xxx.rpm --force;
> except RPMError:
>print RPM failed dependency
>
>
> Can some one tell me how to define this RPMError. I looke
I am trying to write a user defined exception that will catch for
failed dependencies when a rpm is installed
try:
rpm -ivh xxx.rpm --force;
except RPMError:
print RPM failed dependency
Can some one tell me how to define this RPMError. I looked at python
docs but they were not useful.
-