Skip to content
Snippets Groups Projects
Commit d3b133d6 authored by Ronald Jäpel's avatar Ronald Jäpel
Browse files

v0.0.18 and hotfix

parent 374f1c54
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,6 @@ import glob
from stat import S_IREAD, S_IWRITE
from urllib.request import urlretrieve
from ipylab import JupyterFrontEnd
from tabulate import tabulate
from cadetrdm.io_utils import recursive_chmod, write_lines_to_file, wait_for_user, init_lfs
......@@ -425,17 +424,7 @@ class BaseRepo:
:param add_all:
Option to add all changed and new files to git automatically.
"""
try:
app = JupyterFrontEnd()
print("Saving", end="")
# note: docmanager:save doesn't lock the python thread until saving is completed.
# Sometimes, new changes aren't completely saved before checks are performed.
# Waiting for 0.1 seconds seems to prevent that.
app.commands.execute('docmanager:save')
time.sleep(0.1)
print("")
except:
pass
if not self.exist_uncomitted_changes:
print(f"No changes to commit in repo {self.working_dir}")
return
......
version = "0.0.17"
version = "0.0.18"
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