chg: removed whitespaces.
This commit is contained in:
@@ -15,7 +15,7 @@ def main(argv):
|
||||
if argc < 3:
|
||||
print 'Usage:', argv[0], 'input.eml output.mfd'
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
with file(argv[1], "r") as file_inp, file(argv[2], "wb") as file_out:
|
||||
for line in file_inp:
|
||||
line = line.rstrip('\n').rstrip('\r')
|
||||
|
||||
@@ -11,7 +11,7 @@ import pm3_eml2mfd, pm3_mfd2eml
|
||||
class TestEmlMfd(unittest.TestCase):
|
||||
def setUp(self):
|
||||
self.tmpdir = mkdtemp()
|
||||
|
||||
|
||||
def tearDown(self):
|
||||
rmtree(self.tmpdir)
|
||||
|
||||
@@ -46,7 +46,7 @@ def hex_c14n(inp):
|
||||
"""
|
||||
Canonicalizes the input string by removing non-hexadecimal
|
||||
characters and making everything uppercase
|
||||
"""
|
||||
"""
|
||||
return ''.join(c.upper() for c in inp if c in hexdigits)
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
Reference in New Issue
Block a user