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 looked at python > docs but they were not useful.
http://docs.python.org/tut/node10.html#SECTION0010500000000000000000 -- Michael Hoffman -- http://mail.python.org/mailman/listinfo/python-list