Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit c34e6befb5d3b2e05dee997c94f915bbd5cfa7c3 1 parent d0caba2
@williamh authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  bugz/cli.py
View
2  bugz/cli.py
@@ -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:
Please sign in to comment.
Something went wrong with that request. Please try again.