Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Dustin J. Mitchell committed Aug 25, 2010
1 parent 4507199 commit 8873334
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slave/buildslave/test/unit/test_commands_transfer.py
Expand Up @@ -242,7 +242,7 @@ def check_tarfile(_):
a = tarfile.open(fileobj=f, name='check.tar')
exp_names = [ '.', 'aa', 'bb' ]
got_names = [ n.rstrip('/') for n in a.getnames() ]
got_names = sorted([ n or '.' for n in a.getnames() ]) # py27 uses '' instead of '.'
got_names = sorted([ n or '.' for n in got_names ]) # py27 uses '' instead of '.'
self.assertEqual(got_names, exp_names, "expected archive contents")
a.close()
f.close()
Expand Down

0 comments on commit 8873334

Please sign in to comment.