xdufacool/dupcheck.py
def load_duplications(filename):
    """To load a YAML file containing a dictionary of duplicated files."""
    try:
        from yaml import CLoader as Loader
    except ImportError:
        from yaml import Loader
    with open(filename, 'r') as stream:
        duplications = yaml.load(stream, Loader=Loader)
    return duplications
To load a YAML file containing a dictionary of duplicated files.
To load a YAML file containing a dictionary of duplicated files.
To load a YAML file containing a dictionary of duplicated files .
def load_duplications(filename):
    try:
        from yaml import CLoader as Loader
    except ImportError:
        from yaml import Loader
    with open(filename, 'r') as stream:
        duplications = yaml.load(stream, Loader=Loader)
    return duplications
def load_duplications ( filename ) : try : from yaml import CLoader as Loader except ImportError : from yaml import Loader with open ( filename , 'r' ) as stream : duplications = yaml . load ( stream , Loader = Loader ) return duplications
To load a YAML file containing a dictionary of duplicated files.
To load a YAML file containing a dictionary of duplicated files .
"""To load a YAML file containing a dictionary of duplicated files."""
filename