Commits

Sébastien Martinez  committed baf5c67

Changing the default value of args in continue_with to avoid some missbehavior

  • Participants
  • Parent commits eb346c2

Comments (0)

Files changed (1)

File pymoult/stack/utils.py

 	"""replaces func1 by func2 in module"""
 	func1 = func2
 
-def continue_with(func,args=None):
+def continue_with(func,args=[]):
 	def m():
 		return func(*args)
 	"""Continues the thread with the given function and arguments"""