Permalink
Browse files

post: fix typo that caused backtrace

Using the -t option with bugz post to set the title from the command
line was causing a backtrace when the summary was printed. The reason
was that we were attempting to print the title instead of the summary
attribute, and title doesn't exist.
  • Loading branch information...
1 parent d0caba2 commit c34e6befb5d3b2e05dee997c94f915bbd5cfa7c3 @williamh committed May 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 bugz/cli.py
View
@@ -325,7 +325,7 @@ def post(self, args):
while not args.summary or len(args.summary) < 1:
args.summary = self.get_input('Enter title: ')
else:
- self.log('Enter title: %s' % args.title)
+ self.log('Enter title: %s' % args.summary)
# check for description
if not args.description:

0 comments on commit c34e6be

Please sign in to comment.