Skip to content

Commit a193758

Browse files
committed
a few small clean ups
1 parent 19117fc commit a193758

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

ck/kernel.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1426,7 +1426,9 @@ def list_all_files(i):
14261426
a.append(os.path.join(pe, fn))
14271427

14281428
number=len(a)
1429-
if limit!=-1 and number>limit: break
1429+
1430+
if limit!=-1 and number>limit:
1431+
break
14301432

14311433
return {'return':0, 'list':a, 'number':str(number)}
14321434

@@ -5439,7 +5441,10 @@ def search(i):
54395441
tags=i.get('tags','')
54405442
if tags!='':
54415443
xtags=tags.split(',')
5442-
sd['tags']=xtags
5444+
xtags1=[]
5445+
for q in xtags:
5446+
xtags1.append(q.strip())
5447+
sd['tags']=xtags1
54435448

54445449
# Check if index
54455450
if cfg.get('use_indexing','')!='yes' or i.get('internal','')=='yes':

0 commit comments

Comments
 (0)