original_docstring: Common function for removing of empty directories. Should migrate to Pilo2
docstring: Common function for removing of empty directories. Should migrate to Pilo2
docstring_tokens: Common function for removing of empty directories . Should migrate to Pilo2
code: def del_empty_dirs(src_dir):
      "Common function for removing of empty directories. Should migrate to Pilo2"
  
      for dirpath, subdirs, files in os.walk(src_dir, topdown=False):
          if dirpath == src_dir:
              break
          try:
              os.rmdir(dirpath)
          except OSError as ex:
              pass
      return 0
code_tokens: def del_empty_dirs ( src_dir ) : for dirpath , subdirs , files in os . walk ( src_dir , topdown = False ) : if dirpath == src_dir : break try : os . rmdir ( dirpath ) except OSError as ex : pass return 0
short_docstring: Common function for removing of empty directories.
short_docstring_tokens: Common function for removing of empty directories .
comment: "Common function for removing of empty directories. Should migrate to Pilo2"