__version__ = '0.3.2'

try:
    from mando.core import Program
except ImportError as e:  # unfortunately this is the only workaround for argparse
                          # and Python 2.6
    e.version = __version__
    raise e

main = Program()
command = main.command
arg = main.arg
parse = main.parse
execute = main.execute

__version__ = '0.3.2'

try:
    from mando.core import Program
except ImportError as e:  # pragma: no cover
    # unfortunately the only workaround for Python2.6, argparse and setup.py
    e.version = __version__
    raise e

main = Program()
command = main.command
arg = main.arg
parse = main.parse
execute = main.execute

Add a pragma comment to importerror
Add a pragma comment to importerror

  __version__ = '0.3.2'
  
  try:
      from mando.core import Program
- except ImportError as e:  # unfortunately this is the only workaround for argparse
-                           # and Python 2.6
+ except ImportError as e:  # pragma: no cover
+     # unfortunately the only workaround for Python2.6, argparse and setup.py
      e.version = __version__
      raise e
  
  main = Program()
  command = main.command
  arg = main.arg
  parse = main.parse
  execute = main.execute
  
Add a pragma comment to importerror
## Code Before:
__version__ = '0.3.2'

try:
    from mando.core import Program
except ImportError as e:  # unfortunately this is the only workaround for argparse
                          # and Python 2.6
    e.version = __version__
    raise e

main = Program()
command = main.command
arg = main.arg
parse = main.parse
execute = main.execute

## Instruction:
Add a pragma comment to importerror
## Code After:
__version__ = '0.3.2'

try:
    from mando.core import Program
except ImportError as e:  # pragma: no cover
    # unfortunately the only workaround for Python2.6, argparse and setup.py
    e.version = __version__
    raise e

main = Program()
command = main.command
arg = main.arg
parse = main.parse
execute = main.execute
