from .argparse import BitmathType

try:
    from .progressbar import BitmathFileTransferSpeed
except ModuleNotFoundError:
    # Ignore missing dependency as argparse integration will fail if
    # progressbar is not installed (#86).
    pass

from .argparse import BitmathType

try:
    from .progressbar import BitmathFileTransferSpeed
except ImportError:
    # Ignore missing dependency as argparse integration will fail if
    # progressbar is not installed (#86).
    pass

Fix build errors with Python <3.6
Fix build errors with Python <3.6

The `ModuleNotFoundError` was introduced in Python 3.6.

  from .argparse import BitmathType
  
  try:
      from .progressbar import BitmathFileTransferSpeed
- except ModuleNotFoundError:
+ except ImportError:
      # Ignore missing dependency as argparse integration will fail if
      # progressbar is not installed (#86).
      pass
  
Fix build errors with Python <3.6
## Code Before:
from .argparse import BitmathType

try:
    from .progressbar import BitmathFileTransferSpeed
except ModuleNotFoundError:
    # Ignore missing dependency as argparse integration will fail if
    # progressbar is not installed (#86).
    pass

## Instruction:
Fix build errors with Python <3.6
## Code After:
from .argparse import BitmathType

try:
    from .progressbar import BitmathFileTransferSpeed
except ImportError:
    # Ignore missing dependency as argparse integration will fail if
    # progressbar is not installed (#86).
    pass
