From b038a7816b9ee1fdb49ef15fabef3dc0a69e0512 Mon Sep 17 00:00:00 2001 From: Markus Unterwaditzer Date: Thu, 18 Jun 2015 03:27:55 +0200 Subject: [PATCH] Remove legacy error message --- vdirsyncer/cli/utils.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/vdirsyncer/cli/utils.py b/vdirsyncer/cli/utils.py index d87b21e..4ded5f7 100644 --- a/vdirsyncer/cli/utils.py +++ b/vdirsyncer/cli/utils.py @@ -447,12 +447,6 @@ def save_status(base_path, pair, collection=None, data_type=None, data=None): path = expand_path(os.path.join(base_path, status_name)) + '.' + data_type dirname = os.path.dirname(path) - if collection is not None and os.path.isfile(dirname): - raise CliError('{} is probably a legacy file and could be removed ' - 'automatically, but this choice is left to the ' - 'user. If you think this is an error, please file ' - 'a bug at {}'.format(dirname, PROJECT_HOME)) - try: os.makedirs(dirname, STATUS_DIR_PERMISSIONS) except OSError as e: