From c8ca56aed3e43db2cda2ac085cc967028caadd7b Mon Sep 17 00:00:00 2001 From: "ta4879@student.uni-lj.si" Date: Fri, 12 Dec 2014 15:34:00 +0000 Subject: Update of the task() method for a bit more complex string git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@48 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414 --- kpov_judge/tasks/smb_nfs/task.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'kpov_judge/tasks/smb_nfs') diff --git a/kpov_judge/tasks/smb_nfs/task.py b/kpov_judge/tasks/smb_nfs/task.py index b434c42..a245c54 100644 --- a/kpov_judge/tasks/smb_nfs/task.py +++ b/kpov_judge/tasks/smb_nfs/task.py @@ -80,7 +80,8 @@ def task(SMB_NAME, NFS_MOUNT, SHARED_FILENAME, SHARED_FILENAME_CONTENT): # mount the NFS mount # mount the SMB mount # read the filename content - results = "test" + results = ''.join(random.choice(string.ascii_uppercase) for i in range(12)) + #results = "test" return results def gen_params(user_id, params_meta): -- cgit v1.2.1