Commits

Ginés Martínez Sánchez committed 941ee6c Draft

fix some error

Comments (0)

Files changed (5)

 \.pyc$
 \.so$
 \.egg$
-
 coverage.xml
 nosetests.xml
 \.tar\.gz$
 prune .hg
 global-exclude *.pyc
+exclude borra_cache.sh
 recursive-include ginsfsm/examples *
 recursive-include ginsfsm/scaffolds *
+find ./ginsfsm -name __pycache__ -type d -print | xargs /bin/rm -r
+find ./ginsfsm -name *.pyc -type f -print | xargs /bin/rm

ginsfsm/__init__.py

 """
 A python library to do development based in Finite State Machines.
 """
-__version__ = '0.6.6'
+__version__ = '0.6.7'
 __title__ = 'ginsfsm'
 __author__ = 'Ginés Martínez'
 __license__ = 'MIT License'

ginsfsm/router.py

                 except Exception as e:
                     self.remove_external_subscription(external_subscriptor_ref)
                     ack = intra_event.copy('__event_nack__')
-                    ack.error_message = "Cannot subscribe event: " + e
+                    ack.error_message = "Cannot subscribe event: %s" % e
                     if trace_router:
                         prefix = '%s ==> %s' % (
                             registry.my_gaplic_name, this_route)