Index: lib/naclports/package.py |
diff --git a/lib/naclports/package.py b/lib/naclports/package.py |
index 93376e2ee97ca842d2c392727826606b5282d9e7..872546bd2d10f918c2c8b6ee700c658354ddceec 100644 |
--- a/lib/naclports/package.py |
+++ b/lib/naclports/package.py |
@@ -4,7 +4,7 @@ |
import os |
-from naclports.util import Trace, Log, Warn |
+from naclports.util import Log, Warn, LogVerbose |
from naclports.error import Error |
from naclports import configuration, pkg_info, util |
@@ -160,12 +160,12 @@ class InstalledPackage(Package): |
root = util.GetInstallRoot(self.config) |
for filename in self.Files(): |
- filename = os.path.join(root, filename) |
- if not os.path.lexists(filename): |
- Warn('File not found while uninstalling: %s' % filename) |
+ fullname = os.path.join(root, filename) |
+ if not os.path.lexists(fullname): |
+ Warn('File not found while uninstalling: %s' % fullname) |
continue |
- Trace('rm %s' % filename) |
- RemoveFile(filename) |
+ LogVerbose('uninstall: %s' % filename) |
+ RemoveFile(fullname) |
RemoveFile(self.GetListFile()) |