Blob Blame History Raw
commit a59165490ebc236f7682ebc157bf069497958b42
Author: James Antill <james@and.org>
Date:   Thu Dec 4 18:58:59 2008 -0500

    Always have an obsoletes dict, so we can always call getObsoletesTuples() etc.

diff --git a/rpmUtils/updates.py b/rpmUtils/updates.py
index f348ae9..16f733b 100644
--- a/rpmUtils/updates.py
+++ b/rpmUtils/updates.py
@@ -54,6 +54,7 @@ class Updates:
         self.updating_dict = {}
         #debug, ignore me
         self.debug = 0
+        self.obsoletes = {}
 
     def _delFromDict(self, dict_, keys, value):
         for key in keys: