File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -49,11 +49,10 @@ def changeDirectory(r_path):
4949 os .chdir (abs_path )
5050 ack = 0
5151 except Exception as details :
52- print ('problem to get to the path ' + r_path + ' (0001) : ' + str (details ))
52+ print ('[%] Problem to get to the path ' + r_path + ' (0001) : ' + str (details ))
5353 return ack
5454
55- print (f"[@] Working with configurations:\n - Executing directories: { directories } \n - Excluding: { exclude } \n - Command: { command } \n " )
56- print ("[!] Operation started\n " )
55+ print (f"[@] Working with configurations:\n - Executing directories: { directories } \n - Excluding: { exclude } \n - Command: { command } \n \n [!] Operation started\n " )
5756
5857 for directory in directories :
5958 for root , dirs , files in os .walk (directory , topdown = True ):
@@ -65,7 +64,7 @@ def changeDirectory(r_path):
6564
6665 dirs [:] = [d for d in dirs if d not in ['.git' ]]
6766
68- print ("[+] Operation successfully completed" )
67+ print ("[+] Operation successfully completed\n " )
6968
7069
7170def main ():
@@ -77,11 +76,11 @@ def main():
7776
7877 command = values [0 ]
7978 directories = values [1 ].split ()
80- exclude = values [2 ]
79+ exclude = values [2 ]. split ()
8180 recursivePull (directories , exclude , command )
8281
8382 window .close ()
8483
8584
8685if __name__ == '__main__' :
87- main ()
86+ main ()
You can’t perform that action at this time.
0 commit comments