[STRIP_SUFFIX]
[gnome.gobject-introspection] / giscanner / transformer.py
index a3fcff9..af6a3bb 100644 (file)
@@ -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