[diffoscope] 01/04: bin/diffoscope: Use os.path.join "properly" as we are already using it.

Chris Lamb chris at chris-lamb.co.uk
Thu Dec 22 10:36:10 CET 2016


This is an automated email from the git hooks/post-receive script.

lamby pushed a commit to branch master
in repository diffoscope.

commit 77f08b99bf88fe09b49e845acb1a56426beec01c
Author: Chris Lamb <lamby at debian.org>
Date:   Thu Dec 22 09:15:23 2016 +0000

    bin/diffoscope: Use os.path.join "properly" as we are already using it.
---
 bin/diffoscope | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/diffoscope b/bin/diffoscope
index 857984f..c5b2cca 100755
--- a/bin/diffoscope
+++ b/bin/diffoscope
@@ -23,7 +23,7 @@ import os
 import sys
 
 for root in ['.', '..']:
-    if os.path.exists(os.path.join(root, 'diffoscope/__init__.py')):
+    if os.path.exists(os.path.join(root, 'diffoscope', '__init__.py')):
         sys.path = [root] + sys.path
         break
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git


More information about the diffoscope mailing list