mirror of
https://github.com/haiwen/seafile.git
synced 2025-01-09 04:17:30 +08:00
[cli] Remove check of python version
This commit is contained in:
parent
a6f757b9bc
commit
e40c104736
@ -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 '''
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user