[diffoscope] 03/04: bin/diffoscope: Use immutable tuple over mutable list for clarity.
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 fe1f5890361397ec4ba31cb2e5602e95a42b7afd
Author: Chris Lamb <lamby at debian.org>
Date: Thu Dec 22 09:17:07 2016 +0000
bin/diffoscope: Use immutable tuple over mutable list for clarity.
---
bin/diffoscope | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/diffoscope b/bin/diffoscope
index 48a3ff2..1afc9b5 100755
--- a/bin/diffoscope
+++ b/bin/diffoscope
@@ -22,7 +22,7 @@
import os
import sys
-for root in ['.', '..']:
+for root in ('.', '..'):
if os.path.exists(os.path.join(root, 'diffoscope', '__init__.py')):
sys.path.insert(0, root)
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