diff options
author | Steven Myint <git@stevenmyint.com> | 2013-10-04 14:20:51 -0700 |
---|---|---|
committer | Steven Myint <git@stevenmyint.com> | 2013-10-04 14:20:51 -0700 |
commit | 108d009334f4a4076413c66fc1f2c83fdcc0d005 (patch) | |
tree | 8f0a7559a9a6d137ac17ba8dcd7131aad4df2062 /examples | |
parent | 783c012f39ce8bd3fda05dcf86f39379d822bfb0 (diff) | |
download | pexpect-git-108d009334f4a4076413c66fc1f2c83fdcc0d005.tar.gz |
Use "items()" instead of "iteritems()"
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/rippy.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/rippy.py b/examples/rippy.py index 4984e35..4e8ed3d 100755 --- a/examples/rippy.py +++ b/examples/rippy.py @@ -276,7 +276,7 @@ def convert (options): if options['video_target_size'] != 'none': revised_bitrate = calculate_revised_bitrate (options['video_bitrate'], options['video_target_size'], video_actual_size) o.append("# revised video_bitrate : %d\n" % revised_bitrate) - for k,v in options.iteritems(): + for k,v in options.items(): o.append (" %30s : %s\n" % (k, v)) print('# '.join(o)) fout = open("rippy.conf","wb").write(''.join(o)) @@ -838,7 +838,7 @@ def interactive_convert (): print("Ready to Rippy!") print() print("The following options will be used:") - for k,v in options.iteritems(): + for k,v in options.items(): print("%27s : %s" % (k, v)) print() |