Compare commits
No commits in common. "904781d5c645b014e37972c48894b411c42964c3" and "6192f24cef77616217b39466efc826161679a5b0" have entirely different histories.
904781d5c6
...
6192f24cef
1
.gitignore
vendored
1
.gitignore
vendored
@ -149,4 +149,3 @@ dmypy.json
|
||||
# Cython debug symbols
|
||||
cython_debug/
|
||||
|
||||
.vscode/launch.json
|
||||
|
4
main.py
4
main.py
@ -69,8 +69,8 @@ def process_file(child, daydates, monthdates, quarterdates, yeardates):
|
||||
print(f'{{"name": "{child.name}", "filedate": "{filedate}", "keep": "{keep}", "action": "none"}}')
|
||||
else:
|
||||
print(f'{{"name": "{child.name}", "filedate": "{filedate}", "keep": "{keep}" , "action": "to remove"}}')
|
||||
os.remove(child)
|
||||
print(f'{{"name": "{child.name}", "filedate": "{filedate}", "keep": "{keep}" , "action": "removed"}}')
|
||||
#os.remove(child)
|
||||
#print(f'{{"name": "{child.name}", "filedate": "{filedate}", "keep": "{keep}" , "action": "removed"}}')
|
||||
|
||||
|
||||
def test_for_keep(filedate, daydates, monthdates, quarterdates, yeardates):
|
||||
|
Loading…
Reference in New Issue
Block a user