Changeset 93923 in vbox
- Timestamp:
- Feb 24, 2022 3:15:10 PM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 150151
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/RDP/client-1.8.4/keymaps/convert-map
r55121 r93923 26 26 27 27 if line.startswith("#") or line.startswith("include"): 28 print line,28 print(line,) 29 29 continue 30 30 … … 32 32 33 33 if line.startswith("map"): 34 print "map 0x%s" % fields[1]34 print("map 0x%s" % fields[1]) 35 35 continue 36 36 … … 50 50 raise("Invalid line: %s" % line) 51 51 52 print "%s 0x%s %s" % (keysym, scancode, modifiers)52 print("%s 0x%s %s" % (keysym, scancode, modifiers)) 53 53 54 54 … … 56 56 if __name__ == "__main__": 57 57 if len(sys.argv) < 2: 58 print "Convert old-style keymaps to new style"59 print "Usage: %s <old-style-keymap>" % sys.argv[0]58 print("Convert old-style keymaps to new style") 59 print("Usage: %s <old-style-keymap>" % sys.argv[0]) 60 60 sys.exit(1) 61 61 else:
Note:
See TracChangeset
for help on using the changeset viewer.