<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 1: GetCache() s/SystemError/IOError/</title><link>https://sourceforge.net/p/python-apt/bugs/1/</link><description>Recent changes to 1: GetCache() s/SystemError/IOError/</description><atom:link href="https://sourceforge.net/p/python-apt/bugs/1/feed.rss" rel="self"/><language>en</language><lastBuildDate>Thu, 11 Aug 2005 10:00:04 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/python-apt/bugs/1/feed.rss" rel="self" type="application/rss+xml"/><item><title>GetCache() s/SystemError/IOError/</title><link>https://sourceforge.net/p/python-apt/bugs/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;as non-root:&lt;/p&gt;
&lt;p&gt;&amp;gt;&amp;gt;&amp;gt; apt_pkg.GetCache()&lt;br /&gt;
Traceback (most recent call last):&lt;br /&gt;
File "&amp;lt;stdin&amp;gt;", line 1, in ?&lt;br /&gt;
SystemError: The list of sources could not be read.&lt;br /&gt;
&amp;gt;&amp;gt;&amp;gt; ^D&lt;/p&gt;
&lt;p&gt;Raising a SystemError seems unpythonic to me--I suggest raising an IOError instead.  Or, say, create your own PermissionError class, subclass of IOError.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jonas Kölker</dc:creator><pubDate>Thu, 11 Aug 2005 10:00:04 -0000</pubDate><guid>https://sourceforge.net0b8916a85a21c7be8c76cc64d8432a1d6c06f2ed</guid></item></channel></rss>