diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/new-release | 4 | ||||
-rwxr-xr-x | bin/update-contributors | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/bin/new-release b/bin/new-release index db19820d..6db962c9 100755 --- a/bin/new-release +++ b/bin/new-release @@ -127,7 +127,7 @@ then fi pushd $moduledir > /dev/null 2>&1 changelog=ChangeLog -python common/gen-changelog.py > $changelog +python2 common/gen-changelog.py > $changelog git add $changelog popd @@ -148,7 +148,7 @@ else sub_component="" fi -bin/bugzilla $product $version GStreamer $release.xml $sub_component +python2 bin/bugzilla $product $version GStreamer $release.xml $sub_component # update releases Makefile.am makefileam=src/htdocs/releases/$module/Makefile.am diff --git a/bin/update-contributors b/bin/update-contributors index 4c91783f..5229af3c 100755 --- a/bin/update-contributors +++ b/bin/update-contributors @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # -*- Mode: Python -*- # vi:si:et:sw=4:sts=4:ts=4 @@ -26,7 +26,7 @@ def main(): sys.exit(1) names = [] - + lines = codecs.open(changelog, "r", encoding='utf-8', errors='replace').readlines() relmatcher = re.compile('^=== release .* ===$') if relmatcher.match(lines[0]): @@ -43,11 +43,11 @@ def main(): if match: name = match.expand("\\1").rstrip() if name == "": - print "Warning: parsed null name from '%s'" % (line) + print("Warning: parsed null name from '%s'" % (line)) if not name in names and name != "": names.append(name) names.sort() - + # output doc = codecs.open(release, "r", encoding='utf-8').read() list = [] |