In precise: # python Python 2.7.3 (default, Sep 26 2013, 20:03:06) [GCC 4.6.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from apt.cache import Cache >>> with Cache() as c: ... print "Hi" ... Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: __exit__
** Changed in: ubiquity (Ubuntu) Importance: Undecided => High ** Also affects: ubiquity (Ubuntu Precise) Importance: Undecided Status: New ** Also affects: ubiquity (Ubuntu Trusty) Importance: High Status: Confirmed ** Changed in: ubiquity (Ubuntu Precise) Status: New => Confirmed ** Changed in: ubiquity (Ubuntu Precise) Importance: Undecided => High ** Changed in: ubiquity (Ubuntu Trusty) Status: Confirmed => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1272272 Title: Precise ubiquity crashed after upgrading to 2.10.29 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/1272272/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs