Skip to content

Commit f9b3976

Browse files
committed
toolchain log output cosmetic
1 parent 4275955 commit f9b3976

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pythonforandroid/toolchain.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def shorten_string(string, max_width):
114114
if string_len <= max_width:
115115
return string
116116
visible = max_width - 16 - int(log10(string_len)) #expected suffix len "...(and XXXXX more)"
117-
return ''.join(string[:visible], '...(and ', string_len - visible, ' more)')
117+
return ''.join((string[:visible], '...(and ', str(string_len - visible), ' more)'))
118118

119119
def shprint(command, *args, **kwargs):
120120
'''Runs the command (which should be an sh.Command instance), while

0 commit comments

Comments
 (0)