Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e81866e

Browse files
committed
Remove unneeded continuation chars
1 parent f64509e commit e81866e

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

Demo/md5test/md5driver.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ def MDPrint(str):
66
outstr = ''
77
for i in str:
88
o = ord(i)
9-
outstr = outstr \
10-
+ string.hexdigits[(o >> 4) & 0xF] \
11-
+ string.hexdigits[o & 0xF]
9+
outstr = (outstr
10+
+ string.hexdigits[(o >> 4) & 0xF]
11+
+ string.hexdigits[o & 0xF])
1212
print outstr,
1313

1414

@@ -97,8 +97,8 @@ def MDTestSuite():
9797
MDString('abc')
9898
MDString('message digest')
9999
MDString(makestr(ord('a'), ord('z')))
100-
MDString(makestr(ord('A'), ord('Z')) \
101-
+ makestr(ord('a'), ord('z')) \
100+
MDString(makestr(ord('A'), ord('Z'))
101+
+ makestr(ord('a'), ord('z'))
102102
+ makestr(ord('0'), ord('9')))
103103
MDString((makestr(ord('1'), ord('9')) + '0') * 8)
104104

0 commit comments

Comments
 (0)