|
From: Olivier B. <Oli...@pu...> - 2005-01-24 13:24:31
|
Hello,
we are using apt-proxy on a site with about 40 GNU/Debian systems, and
we are happy with it. So, thanks for it.
apt-proxy is package 1.9.24 from main GNU/Debian repository.
We have sometime errors in the logs like:
...
File "/usr/lib/python2.3/site-packages/apt_proxy/apt_proxy.py", line 11=
12, in insert_request
log.debug("Serving from cache for additional client: " + self.local_f=
ile + " size:" + str(self.size))
exceptions.AttributeError: FetcherFile instance has no attribute 'size'
I have try to change:
log.debug("Serving from cache for additional client: " + self.local=
_file + " size:" + str(self.size))
with:
try:
log.debug("Serving from cache for additional client: " + self.l=
ocal_file + " size:" + str(self.size))
except AttributeError:
log.debug("Serving from cache for additional client: " + self.l=
ocal_file + " size: zero!")
His this a correct fix ? And if not, any other suggestions ?
Thanks in advance.
Olivier
--=20
Olivier Bornet | fran=E7ais : http://puck.ch/f
Swiss Ice Hockey Results | english : http://puck.ch/e
http://puck.ch/ | deutsch : http://puck.ch/g
Oli...@pu... | italiano : http://puck.ch/i
Get my PGP-key at http://puck.ch/pgp or at http://pgp.mit.edu/
|