[Notes] [Git][BuildStream/buildstream][master] 2 commits: doc/badges.py: Fix catching of CalledProcessError



Title: GitLab

Chandan Singh pushed to branch master at BuildStream / buildstream

Commits:

1 changed file:

Changes:

  • doc/badges.py
    ... ... @@ -96,7 +96,7 @@ def parse_tag(tag):
    96 96
     def guess_version(release):
    
    97 97
         try:
    
    98 98
             tags_output = subprocess.check_output(['git', 'tag'])
    
    99
    -    except CalledProcessError:
    
    99
    +    except subprocess.CalledProcessError:
    
    100 100
             return (0, 0, 0)
    
    101 101
     
    
    102 102
         # Parse the `git tag` output into a list of integer tuples
    



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