1. Russell Hay
  2. ginsfsm

Commits

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

variables must have underscore, not hyphen

  • Participants
  • Parent commits fbf5e9d
  • Branches default

Comments (0)

Files changed (1)

File ginsfsm/gobj.py

View file
  • Ignore whitespace
 
     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,