From 7ef491e194ee39c74c35d2d818cc44043dfc0039 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Metin?= Date: Tue, 4 Jul 2006 11:11:20 +0000 Subject: [PATCH] fix: options should accessed with get_option... --- pisi/fetcher.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pisi/fetcher.py b/pisi/fetcher.py index 8c566f2e..85114b6c 100644 --- a/pisi/fetcher.py +++ b/pisi/fetcher.py @@ -63,8 +63,8 @@ class Fetcher: if not isinstance(url, URI): url = URI(url) - if ctx.config.options.authinfo: - url.set_auth_info(ctx.config.options.authinfo) + if ctx.config.get_option("authinfo"): + url.set_auth_info(ctx.config.get_option("authinfo")) self.resume = resume self.scheme = url.scheme()