diff --git a/ChangeLog.rst b/ChangeLog.rst index 3cfbbb9b..82d5d370 100644 --- a/ChangeLog.rst +++ b/ChangeLog.rst @@ -68,7 +68,7 @@ Note that it would be an undefined behavior in ``std::printf``. -* Length modifiers such as `ll` are now optional in printf formatting +* Length modifiers such as ``ll`` are now optional in printf formatting functions and the correct type is determined automatically (`#255 `_): diff --git a/support/release.py b/support/release.py index 5a65226e..f6e30129 100755 --- a/support/release.py +++ b/support/release.py @@ -137,7 +137,9 @@ if __name__ == '__main__': try: run = Runner() fmt_dir = os.path.join(workdir, 'fmt') - branch = args.get('', 'master') + branch = args.get('') + if branch is None: + branch = 'master' run('git', 'clone', '-b', branch, 'git@github.com:fmtlib/fmt.git', fmt_dir) # Convert changelog from RST to GitHub-flavored Markdown and get the version.