Commits

Vladimir Mihailenco committed 67f5626

Fix naming

Comments (0)

Files changed (1)

fab_deploy_ext/maintenance.py

 
 
 @contextlib.contextmanager
-def in_maintenance():
+def maintenance():
     maintenance_start()
     yield
     maintenance_stop()
 
 
-def maintenance(func):
+def in_maintenance(func):
     @functools.wraps(func)
     def inner(*args, **kwargs):
         with in_maintenance():