diff options
Diffstat (limited to 'releases')
-rw-r--r-- | releases/fraser/sdnvpn.yaml | 9 | ||||
-rw-r--r-- | releases/scripts/create_branch.py | 9 |
2 files changed, 16 insertions, 2 deletions
diff --git a/releases/fraser/sdnvpn.yaml b/releases/fraser/sdnvpn.yaml new file mode 100644 index 000000000..b0a3906e8 --- /dev/null +++ b/releases/fraser/sdnvpn.yaml @@ -0,0 +1,9 @@ +--- +project: sdnvpn +project-type: feature +release-model: stable + +branches: + - name: stable/fraser + location: + sdnvpn: cc10bd492affb033b68d3b8f4cb1d8c9d554f995 diff --git a/releases/scripts/create_branch.py b/releases/scripts/create_branch.py index 8de130972..362aaaf99 100644 --- a/releases/scripts/create_branch.py +++ b/releases/scripts/create_branch.py @@ -12,7 +12,12 @@ Create Gerrit Branchs """ import argparse -import ConfigParser + +try: + import ConfigParser +except ImportError: + import configparser as ConfigParser + import logging import os import yaml @@ -105,7 +110,7 @@ def main(): try: auth = GerritAuth(url=gerrit_url) - except ValueError, err: + except ValueError as err: logging.error("%s for %s", err, gerrit_url) quit(1) restapi = GerritRestAPI(url=gerrit_url, auth=auth) |