diff options
author | Leandro Lucarella <leandro.lucarella@sociomantic.com> | 2014-11-10 16:18:47 +0100 |
---|---|---|
committer | Mihails Strasuns <mihails.strasuns@sociomantic.com> | 2014-11-24 14:13:22 +0100 |
commit | fd68c29224c057701abad104998331681045f0dd (patch) | |
tree | b15fc361549272e8eeffdae3f5badfd2b9f14f3d | |
parent | 5e03300c8054926de71577d0ac5d4fc49ef36299 (diff) |
Fix warning printing a raw pull object
-rwxr-xr-x | git-hub | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1407,7 +1407,8 @@ class PullCmd (IssueCmd): pull = req.get(cls.url(args.pull)) if pull['state'] == 'closed': - warnf('Checking out a closed pull request (#{})!', pull) + warnf('Checking out a closed pull request ' + '(closed at {closed_at})!', **pull) remote_url = pull['head']['repo'][config.urltype] remote_branch = pull['head']['ref'] |