From f5922edbc31b055784e8ec60c28efd996a9dec10 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Piotr=20O=C5=BCarowski?= <piotr@debian.org>
Date: Mon, 22 Nov 2010 00:15:37 +0100
Subject: [PATCH] typo

---
 debpython/tools.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debpython/tools.py b/debpython/tools.py
index fc62f88..efbcd49 100644
--- a/debpython/tools.py
+++ b/debpython/tools.py
@@ -150,7 +150,6 @@ def pyinstall(package, vrange):
         details = details.groupdict()
         if details['module']:
             details['module'] = details['module'].replace('.', '/')
-        #line = line.strip()
         myvers = versions & get_requested_versions(details['vrange'])
         files = glob(details['pattern'])
         if not files:
@@ -178,5 +177,6 @@ def pyinstall(package, vrange):
                 try:
                     link(fpath, dstfpath)
                 except:
-                    log.error('cannot copy %f file to %s', fpath, dstdir)
+                    status = False
+                    log.error('cannot copy %s file to %s', fpath, dstdir)
     return status
-- 
GitLab