From 601f08faafb2497afcd76b5187621da8b60024db Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Aur=C3=A9lien=20Dunand?= <aurelien.dunand@smartjog.com>
Date: Wed, 13 Jul 2011 14:44:34 +0200
Subject: [PATCH] Fix typo in var name

Signed-off-by: Seblu <sebastien.luttringer@smartjog.com>
---
 installsystems/repository.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/installsystems/repository.py b/installsystems/repository.py
index 7c1bc86..4915f18 100644
--- a/installsystems/repository.py
+++ b/installsystems/repository.py
@@ -422,7 +422,7 @@ class RepositoryManager(object):
                 os.mkdir(self.cache_path)
             # ensure directories are avaiblable
             if not os.access(self.cache_path, os.W_OK | os.X_OK):
-                raise Exception("%s is not writable or executable" % t_path)
+                raise Exception("%s is not writable or executable" % self.cache_path)
             debug("Repository cache is in %s" % self.cache_path)
 
     def __del__(self):
-- 
GitLab