projects
/
gnome.gobject-introspection
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce8df28
)
[STRIP_SUFFIX]
author
Alan Knowles
<alan@akbkhome.com>
Sun, 4 Apr 2010 04:54:23 +0000
(12:54 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Sun, 4 Apr 2010 04:54:23 +0000
(12:54 +0800)
Fix diff
giscanner/transformer.py
patch
|
blob
|
history
diff --git
a/giscanner/transformer.py
b/giscanner/transformer.py
index
a3fcff9
..
af6a3bb
100644
(file)
--- a/
giscanner/transformer.py
+++ b/
giscanner/transformer.py
@@
-198,7
+198,7
@@
class Transformer(object):
if (stripped and self._strip_suffix and
len(name) > len(self._strip_suffix) and
- name.endswith(self._strip_suffix)
+ name.endswith(self._strip_suffix)
:
name = name[:-1*len(self._strip_suffix)]
return name