[cli] Remove check of python version

This commit is contained in:
plt 2013-02-21 15:05:18 +08:00
parent a6f757b9bc
commit e40c104736
2 changed files with 1 additions and 8 deletions

View File

@ -79,14 +79,6 @@ DEFAULT_CONF_DIR = "%s/.ccnet" % os.environ['HOME']
seafile_datadir = None
seafile_worktree = None
# check python version
if sys.version_info.major == 3:
print 'Python 3 not support yet. Quit now'
sys.exit(1)
if sys.version_info.minor < 6:
print 'Python 2.6 or above is required. Quit now'
sys.exit(1)
def _check_seafile():
''' Check ccnet and seafile have been installed '''

View File

@ -913,6 +913,7 @@ tx_done_cb (CcnetProcessor *processor, gboolean success, void *data)
/* block tx processor encountered non-recoverable error,
* such as access denied.
*/
/* TODO: This is BUG */
free_task_resources (task);
} else {
/* Otherwise processs exits successfully, or the error is