Skip to content
Snippets Groups Projects
  • Eli Schwartz's avatar
    8706b874
    fix exception in the progressbar handler · 8706b874
    Eli Schwartz authored
    We're trying to check whether the finished attribute has not yet been
    defined to True, but in the case we're searching for, it hasn't been
    defined at all and simply raises an AttributeError.
    
    Since any case where it's undefined is by definition the False case
    we're looking for, fall back to that.
    8706b874
    History
    fix exception in the progressbar handler
    Eli Schwartz authored
    We're trying to check whether the finished attribute has not yet been
    defined to True, but in the case we're searching for, it hasn't been
    defined at all and simply raises an AttributeError.
    
    Since any case where it's undefined is by definition the False case
    we're looking for, fall back to that.