Changed ['PartsLibrary.FCMacro']
This commit is contained in:
parent
88581c5240
commit
4e7fbf405c
1 changed files with 4 additions and 6 deletions
|
@ -243,10 +243,10 @@ class ExpDockWidget(QtGui.QDockWidget):
|
|||
Mesh.export(toexport,STLfilename)
|
||||
|
||||
def pushlibrary(self):
|
||||
modified_files = repo.git.diff("--name-only").split("\n")
|
||||
print(repo.git.diff("--name-only"))
|
||||
untracked_files = repo.git.ls_files("--other","--exclude-standard").split("\n")
|
||||
print(repo.git.ls_files("--other","--exclude-standard"))
|
||||
modified_files = [f for f in repo.git.diff("--name-only").split("\n") if f]
|
||||
#print(modified_files)
|
||||
untracked_files = [f for f in repo.git.ls_files("--other","--exclude-standard").split("\n") if f]
|
||||
#print(untracked_files)
|
||||
import ArchServer
|
||||
d = ArchServer._ArchGitDialog()
|
||||
d.label.setText(str(len(modified_files)+len(untracked_files))+" new and modified file(s)")
|
||||
|
@ -257,8 +257,6 @@ class ExpDockWidget(QtGui.QDockWidget):
|
|||
r = d.exec_()
|
||||
if r:
|
||||
for o in modified_files + untracked_files:
|
||||
print(o)
|
||||
print(type(o))
|
||||
repo.git.add(o)
|
||||
repo.git.commit(m=d.lineEdit.text())
|
||||
if d.checkBox.isChecked():
|
||||
|
|
Loading…
Add table
Reference in a new issue