~mvo/software-center/fix-pygobject-deprecation-warnings

« back to all changes in this revision

Viewing changes to softwarecenter/db/history_impl/apthistory.py

  • Committer: Michael Vogt
  • Date: 2012-11-27 18:01:43 UTC
  • mfrom: (3242.1.1 software-center)
  • Revision ID: michael.vogt@ubuntu.com-20121127180143-0kxvznezb2zb93ex
merged lp:~jesse-imaginaryrobots/software-center/software-center, many thanks

Show diffs side-by-side

added added

removed removed

Lines of Context:
71
71
    def _fixup_history_item(s):
72
72
        """ strip history item string and add missing ")" if needed """
73
73
        s = s.strip()
74
 
        # remove the infomation about the architecture
 
74
        # remove the information about the architecture
75
75
        s = re.sub(":\w+", "", s)
76
76
        if "(" in s and not s.endswith(")"):
77
77
            s += ")"