From df68bb48961574436c1ffc2463a31cd7d8227606 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Sat, 16 Aug 2014 22:37:29 +0200 Subject: Remove raw_input usage and other python2 support in examples --- examples/user_location.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/user_location.py') diff --git a/examples/user_location.py b/examples/user_location.py index 823beb0a..5fa4f560 100755 --- a/examples/user_location.py +++ b/examples/user_location.py @@ -97,7 +97,7 @@ if __name__ == '__main__': format='%(levelname)-8s %(message)s') if opts.jid is None: - opts.jid = raw_input("Username: ") + opts.jid = input("Username: ") if opts.password is None: opts.password = getpass.getpass("Password: ") -- cgit v1.2.3