OSDN Git Service
(root)
/
nvdajp
/
nvdajp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
290b67d
)
Fix incorrect use of str.format().
author
James Teh
<jamie@jantrid.net>
Wed, 6 Oct 2010 23:50:47 +0000
(09:50 +1000)
committer
James Teh
<jamie@jantrid.net>
Wed, 6 Oct 2010 23:50:47 +0000
(09:50 +1000)
source/inputCore.py
patch
|
blob
|
history
diff --git
a/source/inputCore.py
b/source/inputCore.py
index
75c20d3
..
3f77d0a
100644
(file)
--- a/
source/inputCore.py
+++ b/
source/inputCore.py
@@
-167,4
+167,4
@@
def normalizeGestureIdentifier(identifier):
# but we need them to be in a determinate order so they will match other gesture identifiers.
\r
# Rather than sorting, just use Python's set ordering.
\r
main = "+".join(itertools.chain(frozenset(main[:-1]), main[-1:]))
\r
- return "{
1}:{2
}".format(prefix, main).lower()
\r
+ return "{
0}:{1
}".format(prefix, main).lower()
\r