mirror of
https://github.com/theupdateframework/python-tuf
synced 2026-05-24 10:08:28 +00:00
indention fix
This commit is contained in:
parent
dccd5fc7df
commit
cd805e528d
1 changed files with 2 additions and 2 deletions
|
|
@ -166,8 +166,8 @@ def test_mix_and_match_attack(TUF=False):
|
|||
_download(url=url_to_file, filename=downloaded_file, using_tuf=TUF)
|
||||
except tuf.NoWorkingMirrorError as errors:
|
||||
for mirror_url, mirror_error in errors.mirror_errors.iteritems():
|
||||
if type(mirror_error) == tuf.BadHashError:
|
||||
print 'Catched a Bad Hash Error!'
|
||||
if type(mirror_error) == tuf.BadHashError:
|
||||
print 'Catched a Bad Hash Error!'
|
||||
|
||||
# Check whether the attack succeeded by inspecting the content of the
|
||||
# update. The update should contain 'Test NOT A'.
|
||||
|
|
|
|||
Loading…
Reference in a new issue