* usr/bin/byobu-select-session: LP: #919391

- read only integers
This commit is contained in:
Dustin Kirkland 2012-01-25 16:52:38 -06:00
commit 2289dd7db3
2 changed files with 6 additions and 1 deletions

5
debian/changelog vendored
View file

@ -1,9 +1,14 @@
byobu (5.6) unreleased; urgency=low
[ Dustin Kirkland ]
* usr/lib/byobu/ip_address:
- user@host and ipaddress need some separation, as they're hard to
differentiate when next to one another
[ Ryan Thompson ]
* usr/bin/byobu-select-session: LP: #919391
- read only integers
-- Dustin Kirkland <kirkland@ubuntu.com> Wed, 18 Jan 2012 19:57:15 -0600
byobu (5.5-0ubuntu1) precise; urgency=low

View file

@ -96,7 +96,7 @@ if len(sessions) > 1:
sys.stdout.write(" %d. %s\n" % (i, s))
i += 1
try:
choice = input("\nChoose 1-%d [1]: " % (i-1))
choice = int(raw_input("\nChoose 1-%d [1]: " % (i-1)))
if choice >= 1 and choice < i:
break
else: