summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeandro Lucarella <leandro.lucarella@sociomantic.com>2014-11-10 16:18:47 +0100
committerMihails Strasuns <mihails.strasuns@sociomantic.com>2014-11-24 14:13:22 +0100
commitfd68c29224c057701abad104998331681045f0dd (patch)
treeb15fc361549272e8eeffdae3f5badfd2b9f14f3d
parent5e03300c8054926de71577d0ac5d4fc49ef36299 (diff)
Fix warning printing a raw pull object
-rwxr-xr-xgit-hub3
1 files changed, 2 insertions, 1 deletions
diff --git a/git-hub b/git-hub
index f82a6d4..bb00969 100755
--- a/git-hub
+++ b/git-hub
@@ -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']