mirror of
https://github.com/cesanta/mongoose.git
synced 2026-12-05 22:08:23 +00:00
Make tests work on public repo as well
PUBLISHED_FROM=78acb18d597b6f47f31da13087fa6685f21ce445
This commit is contained in:
1 parent
3eb4eb8074
commit
7bf5144e62
145 files changed
+30660
-16
No files matched your search
Executable
+14
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
import sys
|
||||
|
||||
for line in open(sys.argv[1]):
|
||||
i = 0
|
||||
while i < len(line):
|
||||
n = len(line) - i
|
||||
if n > 80: n = 80
|
||||
l = line[i:i+n]
|
||||
if n == 80:
|
||||
l += '\\'
|
||||
print l
|
||||
i += n
|
||||
Reference in new issue
Block a user