From 90055c360054b37b9c4a88e4065bd173d1e2b924 Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Wed, 2 Dec 2015 13:35:28 -0600 Subject: [PATCH] * usr/lib/byobu/include/select-session.py: - fix regression introduced by r2448 --- debian/changelog | 2 ++ usr/lib/byobu/include/select-session.py | 8 +++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index d9a72dee..2f66bba3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -33,6 +33,8 @@ byobu (5.100) unreleased; urgency=medium via dbus - fqdn namespace that service to us.kirkland.terminals.byobu + this is stupid, btw + * usr/lib/byobu/include/select-session.py: + - fix regression introduced by r2448 -- Dustin Kirkland Sat, 14 Nov 2015 16:59:57 -0600 diff --git a/usr/lib/byobu/include/select-session.py b/usr/lib/byobu/include/select-session.py index ea617d90..553289a8 100755 --- a/usr/lib/byobu/include/select-session.py +++ b/usr/lib/byobu/include/select-session.py @@ -20,11 +20,17 @@ # along with this program. If not, see . -from builtins import input import os import re import sys import subprocess +try: + # For Python3, try and import input from builtins + from builtins import input +except: + # But fall back to using the default input + True + PKG = "byobu" SHELL = os.getenv("SHELL", "/bin/bash")