Fix unit tests.
This commit is contained in:
parent
76175672ad
commit
ac6987c54a
|
@ -95,8 +95,9 @@ class DumpMaster(flow.FlowMaster):
|
|||
except IOError, v:
|
||||
raise DumpError(v.strerror)
|
||||
|
||||
for i in options.replacements:
|
||||
self.replacehooks.add(*i)
|
||||
if options.replacements:
|
||||
for i in options.replacements:
|
||||
self.replacehooks.add(*i)
|
||||
|
||||
if options.server_replay:
|
||||
self.start_server_playback(
|
||||
|
|
Loading…
Reference in New Issue