diff options
author | Siddharth Ravikumar <sravik@bgsu.edu> | 2016-01-16 15:51:49 -0500 |
---|---|---|
committer | Siddharth Ravikumar <sravik@bgsu.edu> | 2016-01-16 15:51:49 -0500 |
commit | 13b9155a4580fe0c3e4c3f7a69d798edd7ec5f4e (patch) | |
tree | 6a7b1287aef8699bc99f0528799aab30200e0326 /dumper | |
parent | c4e7c5ffd4c28cfff496c51d3977e5ab5c4094a9 (diff) |
dumper/dump: cosmetic changes
Diffstat (limited to 'dumper')
-rwxr-xr-x | dumper/dump | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dumper/dump b/dumper/dump index 459b514..5fbd188 100755 --- a/dumper/dump +++ b/dumper/dump @@ -29,8 +29,8 @@ CP = 'cp' def dump(from_file, to_file): - """ - Dump from `from_file` to `to_file` + """Dump from `from_file` to `to_file` + """ print "Dumping %s -> %s" % (from_file, to_file) call(shlex.split("%s %s %s" % (CP, from_file,to_file))) @@ -44,8 +44,8 @@ def dump_files(from_dir, to_dir, delay=10, times=1): The function will dump the files in `from_dir` `times` no. of times to `to_dir` - """ + """ for i in xrange(times): for dirpath, dirnames, files in os.walk(from_dir): for file_ in files: |