[Notes] [Git][BuildGrid/buildgrid][mablanch/36-fix-linting] cli.py: Ensure Python 3.5 compatibility



Title: GitLab

Martin Blanchard pushed to branch mablanch/36-fix-linting at BuildGrid / buildgrid

Commits:

1 changed file:

Changes:

  • app/cli.py
    ... ... @@ -60,8 +60,6 @@ class BuildGridCLI(click.MultiCommand):
    60 60
             try:
    
    61 61
                 mod = __import__(name='app.commands.cmd_{}'.format(name),
    
    62 62
                                  fromlist=['cli'])
    
    63
    -        except ModuleNotFoundError as e:
    
    64
    -            raise Exception(e)
    
    65 63
             except ImportError as e:
    
    66 64
                 return None
    
    67 65
             return mod.cli
    



  • [Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]