Commits

Paul Moore committed 051660a

Fix handling of Obsoletes in read_pkg_info()

  • Participants
  • Parent commits 4442cc7

Comments (0)

Files changed (1)

             pattern = r'^%s: (.*?)$' % fieldname
             res = re.findall(pattern, pkg_info , re_options)
             if fieldname in ('Classifier', 'Requires', 'Provides',
-                             'Obsolete'):
+                             'Obsoletes'):
                 return res
             if len(res) == 0:
                 return 'UNKNOWN'