diff --git a/installsystems/repository.py b/installsystems/repository.py index 7c1bc864b3c1f93ccd039c058055f56fb0837c10..4915f180dcda7a656c7087bf19b7bba7bd8da7fd 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):