Commits

Ginés Martínez Sánchez committed 1a7f5e2

variables must have underscore, not hyphen

Comments (0)

Files changed (1)

 
     def get_random_name(self, prefix):
         self._urandom_name += 1
-        return '%s-%d' % (prefix, self._urandom_name)
+        return '%s_%d' % (prefix, self._urandom_name)
 
     def create_random_named_gobj(self, name, gclass, parent, **kw):
         """ Same as :meth:`create_gobj` function,