Normalize line endings

This commit is contained in:
KrazyTheFox
2017-12-28 23:40:29 -05:00
parent 251569e81c
commit 6d5e56f6bf
6957 changed files with 391658 additions and 414049 deletions

View File

@@ -1,11 +1,11 @@
import os
import subprocess
cardsfolder = os.path.join(os.path.dirname(os.getcwd()), 'res', 'cardsfolder')
upcoming = os.path.join(cardsfolder, 'upcoming')
for dirName, subdirList, fileList in os.walk(upcoming):
for file in fileList:
curLocation = os.path.join(upcoming, file)
newFile = os.path.join(cardsfolder, file[0], file)
import os
import subprocess
cardsfolder = os.path.join(os.path.dirname(os.getcwd()), 'res', 'cardsfolder')
upcoming = os.path.join(cardsfolder, 'upcoming')
for dirName, subdirList, fileList in os.walk(upcoming):
for file in fileList:
curLocation = os.path.join(upcoming, file)
newFile = os.path.join(cardsfolder, file[0], file)
subprocess.call('svn rename %s %s' % (curLocation, newFile), shell=True)