parameters: (self)
return_statement: return lock_file
docstring: Missing DocString
docstring_summary: Missing DocString
docstring_tokens: Missing DocString
function: def createLockFile(self):
  		"""Missing DocString
  		"""
  		# Check if the lock-folder already exists and if not create it
  		if not os.path.isdir(self.lock_folder):
  			creation_status = \
  				cgruutils.createFolder(self.lock_folder, writeToAll=True)
  
  			# If the lock-folder does still not exist inform user
  			if creation_status:
  				if self.debug:
  					print("The Lock-Folder: %s" % self.lock_folder)
  			else:
  				print("ERROR: The following Lock-Folder could not get "
  					  "created: %s" % self.lock_folder)
  
  		lock_file = os.path.join(self.lock_folder, self.lock_uuid)
  
  		the_lock_file = open(lock_file, "w")
  		the_lock_file.close()
  
  		if not os.path.isfile(lock_file):
  			print("ERROR: The following Lock-File could not get created: %s" %
  				  lock_file)
  			return None
  
  		return lock_file
function_tokens: def createLockFile ( self ) : # Check if the lock-folder already exists and if not create it if not os . path . isdir ( self . lock_folder ) : creation_status = cgruutils . createFolder ( self . lock_folder , writeToAll = True ) # If the lock-folder does still not exist inform user if creation_status : if self . debug : print ( "The Lock-Folder: %s" % self . lock_folder ) else : print ( "ERROR: The following Lock-Folder could not get " "created: %s" % self . lock_folder ) lock_file = os . path . join ( self . lock_folder , self . lock_uuid ) the_lock_file = open ( lock_file , "w" ) the_lock_file . close ( ) if not os . path . isfile ( lock_file ) : print ( "ERROR: The following Lock-File could not get created: %s" % lock_file ) return None return lock_file