[diffoscope] 04/05: diffoscope.main: Add spaces around operators.
Chris Lamb
chris at chris-lamb.co.uk
Thu Jan 11 10:59:32 CET 2018
This is an automated email from the git hooks/post-receive script.
lamby pushed a commit to branch master
in repository diffoscope.
commit 26ec6a13b47f40772f3d15208a66fe7074943213
Author: Chris Lamb <lamby at debian.org>
Date: Thu Jan 11 12:39:22 2018 +0530
diffoscope.main: Add spaces around operators.
---
diffoscope/main.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/diffoscope/main.py b/diffoscope/main.py
index 1137057..f9b42bb 100644
--- a/diffoscope/main.py
+++ b/diffoscope/main.py
@@ -266,7 +266,7 @@ class RangeCompleter(object):
tmp = end
end = start
start = tmp
- self.choices = range(start, end + 1, int((end-start+1)/divisions))
+ self.choices = range(start, end + 1, int((end - start + 1) / divisions))
def __call__(self, prefix, **kwargs):
return (str(i) for i in self.choices if str(i).startswith(prefix))
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git
More information about the diffoscope
mailing list