mirror of
https://github.com/haiwen/seafile-server.git
synced 2025-09-04 00:44:21 +00:00
Upadte to python3.
This commit is contained in:
@@ -12,7 +12,7 @@ def create_and_get_repo(*a, **kw):
|
||||
|
||||
|
||||
def randstring(length=12):
|
||||
return ''.join(random.choice(string.lowercase) for i in range(length))
|
||||
return ''.join(random.choice(string.ascii_lowercase) for i in range(length))
|
||||
|
||||
def create_and_get_group(*a, **kw):
|
||||
group_id = ccnet_api.create_group(*a, **kw)
|
||||
|
Reference in New Issue
Block a user