Did I find the right examples for you? yes no

All Samples(30)  |  Call(26)  |  Derive(0)  |  Import(4)

src/f/r/fragments-1.2.4/fragments/commands.py   fragments(Download)
 
from . import __version__, FragmentsError, _iterate_over_files, _smart_open
from .config import FragmentsConfig, configuration_directory_name, find_configuration, ConfigurationFileCorrupt, ConfigurationFileNotFound, ConfigurationDirectoryNotFound
from .diff import _full_diff
from .apply import apply
 
    try:
        config = FragmentsConfig()
    except ConfigurationFileCorrupt as exc:
        config = FragmentsConfig(autoload=False)
        os.rename(config.path, config.path + '.corrupt')
        config.dump()
    except ConfigurationFileNotFound as exc:
        config = FragmentsConfig(autoload=False)
            configuration_path = os.path.join(configuration_parent, configuration_directory_name)
            os.mkdir(configuration_path)
            config = FragmentsConfig(configuration_path, autoload=False)
            config.dump()
        else:

src/f/r/fragments-HEAD/fragments/commands.py   fragments(Download)
 
from . import __version__, FragmentsError, _iterate_over_files, _smart_open
from .config import FragmentsConfig, configuration_directory_name, ConfigurationFileCorrupt, ConfigurationFileNotFound, ConfigurationDirectoryNotFound
from .diff import _full_diff
from .apply import apply
 
    try:
        config = FragmentsConfig()
    except ConfigurationFileCorrupt:
        config = FragmentsConfig(autoload=False)
        os.rename(config.path, config.path + '.corrupt')
        config.dump()
    except ConfigurationFileNotFound:
        config = FragmentsConfig(autoload=False)
            configuration_path = os.path.join(configuration_parent, configuration_directory_name)
            os.mkdir(configuration_path)
            config = FragmentsConfig(configuration_path, autoload=False)
            config.dump()
        else:

src/f/r/fragments-1.2.4/fragments/apply.py   fragments(Download)
from . import _iterate_over_files, _smart_open
from .precisecodevillemerge import Weave
from .config import FragmentsConfig
from .diff import _diff_group, _split_diff
from .color import Prompt
    args = parser.parse_args(args)
 
    config = FragmentsConfig()
    weave = Weave()
    changed_path = os.path.realpath(args.SOURCE_FILENAME)

src/f/r/fragments-HEAD/fragments/apply.py   fragments(Download)
from . import _iterate_over_files, _smart_open
from .precisecodevillemerge import Weave
from .config import FragmentsConfig
from .diff import _diff_group, _split_diff
from .color import Prompt
    args = parser.parse_args(args)
 
    config = FragmentsConfig()
    weave = Weave()
    changed_path = os.path.realpath(args.SOURCE_FILENAME)