From c51f5031a6f824f71fec7b8394a728f37b84c6d9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Aur=C3=A9lien=20Dunand?= <aurelien.dunand@smartjog.com>
Date: Mon, 1 Aug 2011 11:00:52 +0200
Subject: [PATCH] Fix missing parenthesises

---
 installsystems/repository.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/installsystems/repository.py b/installsystems/repository.py
index 5b90cd3..a0cdc3a 100644
--- a/installsystems/repository.py
+++ b/installsystems/repository.py
@@ -233,7 +233,7 @@ class Repository(object):
         r = self.db.ask("select md5 from image where name = ? and version = ? limit 1",
                         (name,version)).fetchone()
         if r is None:
-            raise Exception("No such image %s version %s" % name, version)
+            raise Exception("No such image %s version %s" % (name, version))
         path = os.path.join(self.config.path, r[0])
         debug("Getting %s v%s from %s" % (name, version, path))
         pkg = PackageImage(path, md5name=True)
-- 
GitLab