projects
/
nmutil.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39aecf8
)
varname error (extz_data not exts_data)
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Thu, 30 Sep 2021 14:15:12 +0000
(15:15 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Thu, 30 Sep 2021 14:15:12 +0000
(15:15 +0100)
src/nmutil/extend.py
patch
|
blob
|
history
diff --git
a/src/nmutil/extend.py
b/src/nmutil/extend.py
index 9bff144fbdf61e1dee24cb290f6282716906dac6..c2f8e4d5104ea4874ad71aaadcb78ae952ebae46 100644
(file)
--- a/
src/nmutil/extend.py
+++ b/
src/nmutil/extend.py
@@
-23,7
+23,7
@@
def exts(exts_data, width, fullwidth):
def extz(extz_data, width, fullwidth):
diff = fullwidth-width
if diff == 0:
- return ext
s
_data
+ return ext
z
_data
extz_data = extz_data[0:width]
if diff <= 0:
return extz_data[:fullwidth]