<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 1: GetCache() s/SystemError/IOError/</title><link href="https://sourceforge.net/p/python-apt/bugs/1/" rel="alternate"/><link href="https://sourceforge.net/p/python-apt/bugs/1/feed.atom" rel="self"/><id>https://sourceforge.net/p/python-apt/bugs/1/</id><updated>2005-08-11T10:00:04Z</updated><subtitle>Recent changes to 1: GetCache() s/SystemError/IOError/</subtitle><entry><title>GetCache() s/SystemError/IOError/</title><link href="https://sourceforge.net/p/python-apt/bugs/1/" rel="alternate"/><published>2005-08-11T10:00:04Z</published><updated>2005-08-11T10:00:04Z</updated><author><name>Jonas Kölker</name><uri>https://sourceforge.net/u/jonaskoelker/</uri></author><id>https://sourceforge.net0b8916a85a21c7be8c76cc64d8432a1d6c06f2ed</id><summary type="html">&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;</summary></entry></feed>