Skip to content
Snippets Groups Projects
Commit 6b7e52ae authored by Neta Zmora's avatar Neta Zmora
Browse files

execution_env.py: fix code indentation

parent f922973a
No related branches found
No related tags found
No related merge requests found
...@@ -37,6 +37,7 @@ except ImportError: ...@@ -37,6 +37,7 @@ except ImportError:
logger = logging.getLogger("app_cfg") logger = logging.getLogger("app_cfg")
def log_execution_env_state(app_args, gitroot='.'): def log_execution_env_state(app_args, gitroot='.'):
"""Log information about the execution environment. """Log information about the execution environment.
...@@ -61,7 +62,7 @@ def log_execution_env_state(app_args, gitroot='.'): ...@@ -61,7 +62,7 @@ def log_execution_env_state(app_args, gitroot='.'):
return return
if repo.is_dirty(): if repo.is_dirty():
logger.debug("Git is dirty") logger.debug("Git is dirty")
try: try:
branch_name = repo.active_branch.name branch_name = repo.active_branch.name
except TypeError: except TypeError:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment