Beispiel #1
0
 def do_work(*args, **kwargs):
     saved = pwd()
     try:
         apply(fn, args, kwargs)
     finally:
         cd(saved)
Beispiel #2
0
 def do_work(*args, **kwargs):
     saved = pwd()
     try:
         fn(*args, **kwargs)
     finally:
         cd(saved)