diff options
author | Guido Günther <agx@sigxcpu.org> | 2016-12-26 20:15:17 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2016-12-26 20:15:17 +0100 |
commit | 73e1bca3b37db06dcf5d3a36472a0b78e2f20338 (patch) | |
tree | 10b25f6bf5a8a17269566e234a660020582a3e24 /gbp/scripts/create_remote_repo.py | |
parent | 9e44a205fbec7fd83ff4c41fa17a7e4c049ef1ba (diff) |
Use compact forms of logging functions
Diffstat (limited to 'gbp/scripts/create_remote_repo.py')
-rw-r--r-- | gbp/scripts/create_remote_repo.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gbp/scripts/create_remote_repo.py b/gbp/scripts/create_remote_repo.py index c05119e0..7a8ca080 100644 --- a/gbp/scripts/create_remote_repo.py +++ b/gbp/scripts/create_remote_repo.py @@ -389,7 +389,7 @@ def main(argv): if len(args) == 1: args.append('create') # the default elif len(args) > 2: - gbp.log.error("Only one action allowed") + gbp.log.err("Only one action allowed") return 1 action = args[1] @@ -398,7 +398,7 @@ def main(argv): elif action == 'list': retval = do_list(sections) else: - gbp.log.error("Unknown action '%s'" % action) + gbp.log.err("Unknown action '%s'" % action) return retval |