1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-15 20:29:03 +00:00

Fix typo when self.root is not None.

This commit is contained in:
david
2012-05-19 19:31:10 +00:00
parent 322ed971a2
commit df516bc398

View File

@@ -314,7 +314,7 @@ for dir in dirs:
# must strip it off if necessary.
modules_dir = self.install_lib
if self.root is not None:
modules_dir = path_strip_prefix(modules, self.root)
modules_dir = path_strip_prefix(modules_dir, self.root)
app_file = open(app_file_name, "r")
lines = app_file.readlines()