mirror of
https://github.com/archlinux-jerry/buildbot
synced 2024-12-05 03:10:41 +08:00
len(super)???
This commit is contained in:
parent
85551c0265
commit
25aa928628
1 changed files with 1 additions and 1 deletions
2
utils.py
2
utils.py
|
@ -73,7 +73,7 @@ def run_cmd(cmd, cwd=None, keepalive=False, KEEPALIVE_TIMEOUT=30, RUN_CMD_TIMEOU
|
|||
self.__file = None
|
||||
def append(self, mystring):
|
||||
if self.__short_return:
|
||||
if len(super()) >= 20:
|
||||
if super().__len__() >= 20:
|
||||
super.pop(0)
|
||||
super().append(mystring)
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue