Add a missing newline to the writemsg output.
authorZac Medico <zmedico@gentoo.org>
Mon, 21 May 2007 19:55:31 +0000 (19:55 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 21 May 2007 19:55:31 +0000 (19:55 -0000)
svn path=/main/trunk/; revision=6564

pym/portage/dbapi/vartree.py

index 3c7e646ebaeefb9aa6620e3e2eb2206fa4d92445..986516e259ea48bd6dbfb7672347602ac24b0b0a 100644 (file)
@@ -1212,7 +1212,8 @@ class dblink(object):
                                                continue
                                        try:
                                                if statobj.st_nlink > 1:
-                                                       portage.writemsg("There are "+str(st.st_nlink-1)+" hardlinks to " + obj)
+                                                       portage.writemsg("There are "+str(st.st_nlink-1)+ \
+                                                               " hardlinks to '%s'\n" % obj)
                                                # Always blind chmod 0 before unlinking to avoid race conditions.
                                                os.chmod(obj, 0000)
                                                os.unlink(obj)