diff options
Diffstat (limited to 'sbhs_server/pages/management/commands/arm.diff')
-rw-r--r-- | sbhs_server/pages/management/commands/arm.diff | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/sbhs_server/pages/management/commands/arm.diff b/sbhs_server/pages/management/commands/arm.diff deleted file mode 100644 index 868bec1..0000000 --- a/sbhs_server/pages/management/commands/arm.diff +++ /dev/null @@ -1,14 +0,0 @@ ---- a/sbhs_server/pages/management/commands/zip_client.py -+++ b/sbhs_server/pages/management/commands/zip_client.py -@@ -33,6 +33,10 @@ class Command(BaseCommand): - run_file_dirpath = os.path.join(dirpath, "run_file") - - os.mkdir(tmp_dirpath) -+ for root, dirs, files in os.walk(dirpath): -+ for f in files: -+ shutil.copy(os.path.join(dirpath, f), os.path.join(tmp_dirpath, f)) -+ - distutils.dir_util.copy_tree(scilab_codes_dirpath, tmp_dirpath) - try: - shutil.rmtree(tmp_dirpath + "/" + scilab_codes_dirname + "/.git") - |