MozillaSecurity / laniakea

Laniakea is a utility for managing instances at various cloud providers and aids in setting up a fuzzing cluster.
Mozilla Public License 2.0
27 stars 12 forks source link

Laniakea throws because time_exceeded is not specified, if timeout is None #15

Closed nth10sd closed 6 years ago

nth10sd commented 8 years ago

The following line throws if timeout is not specified: https://github.com/MozillaSecurity/laniakea/blob/59536ad/core/manager.py#L158

Traceback (most recent call last):
  File "/Users/skywalker/trees/laniakea/laniakea.py", line 299, in <module>
    sys.exit(LaniakeaCommandLine().main())
  File "/Users/skywalker/trees/laniakea/laniakea.py", line 223, in main
    args.ebs_volume_type, args.ebs_volume_delete_on_termination)
  File "/Users/skywalker/trees/laniakea/core/manager.py", line 158, in create_spot
    elif time_exceeded:
UnboundLocalError: local variable 'time_exceeded' referenced before assignment