jenkins-bot merged this change.
[cleanup] remove rewrite_path duplication
Change-Id: I110eec8fbbe4069732a6b2ddfc4607c45aec477d
---
M pwb.py
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/pwb.py b/pwb.py
index 228c307..d820522 100755
--- a/pwb.py
+++ b/pwb.py
@@ -182,10 +182,9 @@
# Either it is '.' if the user's current working directory is the same,
# or it is the absolute path for the directory of pwb.py
absolute_path = abspath(os.path.dirname(sys.argv[0]))
-rewrite_path = absolute_path
-if rewrite_path not in sys.path[:2]:
- sys.path.insert(1, rewrite_path)
+if absolute_path not in sys.path[:2]:
+ sys.path.insert(1, absolute_path)
if not check_modules():
sys.exit()
To view, visit change 583036. To unsubscribe, or for help writing mail filters, visit settings.