summaryrefslogtreecommitdiff
path: root/examples/user_tune.py
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2014-08-16 22:37:29 +0200
committerFlorent Le Coz <louiz@louiz.org>2014-09-01 02:42:45 +0200
commitdf68bb48961574436c1ffc2463a31cd7d8227606 (patch)
treeb8cf94afe4f18b3fe75baaf63a1c9c0c5c1b314b /examples/user_tune.py
parent815e647c97c0b9a25d177bb698b4f737340987b5 (diff)
downloadslixmpp-df68bb48961574436c1ffc2463a31cd7d8227606.tar.gz
slixmpp-df68bb48961574436c1ffc2463a31cd7d8227606.tar.bz2
slixmpp-df68bb48961574436c1ffc2463a31cd7d8227606.tar.xz
slixmpp-df68bb48961574436c1ffc2463a31cd7d8227606.zip
Remove raw_input usage and other python2 support in examples
Diffstat (limited to 'examples/user_tune.py')
-rwxr-xr-xexamples/user_tune.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/user_tune.py b/examples/user_tune.py
index 528a8d45..96548514 100755
--- a/examples/user_tune.py
+++ b/examples/user_tune.py
@@ -109,7 +109,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: ")