summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2003-04-24 17:27:53 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2003-04-24 17:27:53 (GMT)
commite81866e7c688871543c3127d3999c695abae3d11 (patch)
tree3cb15dfb617405b9550f9cb10949b901f1fd772f
parentf64509e348f6928810c565c133b4176fe3c23b81 (diff)
downloadcpython-e81866e7c688871543c3127d3999c695abae3d11.zip
cpython-e81866e7c688871543c3127d3999c695abae3d11.tar.gz
cpython-e81866e7c688871543c3127d3999c695abae3d11.tar.bz2
Remove unneeded continuation chars
-rwxr-xr-xDemo/md5test/md5driver.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/Demo/md5test/md5driver.py b/Demo/md5test/md5driver.py
index 61aea61..bbd6130 100755
--- a/Demo/md5test/md5driver.py
+++ b/Demo/md5test/md5driver.py
@@ -6,9 +6,9 @@ def MDPrint(str):
outstr = ''
for i in str:
o = ord(i)
- outstr = outstr \
- + string.hexdigits[(o >> 4) & 0xF] \
- + string.hexdigits[o & 0xF]
+ outstr = (outstr
+ + string.hexdigits[(o >> 4) & 0xF]
+ + string.hexdigits[o & 0xF])
print outstr,
@@ -97,8 +97,8 @@ def MDTestSuite():
MDString('abc')
MDString('message digest')
MDString(makestr(ord('a'), ord('z')))
- MDString(makestr(ord('A'), ord('Z')) \
- + makestr(ord('a'), ord('z')) \
+ MDString(makestr(ord('A'), ord('Z'))
+ + makestr(ord('a'), ord('z'))
+ makestr(ord('0'), ord('9')))
MDString((makestr(ord('1'), ord('9')) + '0') * 8)