(Directory)
| 411 | # @param Directory The directory name |
| 412 | # |
| 413 | def CreateDirectory(Directory): |
| 414 | if Directory is None or Directory.strip() == "": |
| 415 | return True |
| 416 | try: |
| 417 | if not os.access(Directory, os.F_OK): |
| 418 | os.makedirs(Directory) |
| 419 | except: |
| 420 | return False |
| 421 | return True |
| 422 | |
| 423 | ## Remove directories, including files and sub-directories in it |
| 424 | # |
no outgoing calls
no test coverage detected