[STRIP_SUFFIX]
[gnome.gobject-introspection] / giscanner / transformer.py
index af6a3bb..cfc2178 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